diff options
Diffstat (limited to '')
-rw-r--r-- | controller.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/controller.py b/controller.py index 66039ac..0ba696e 100644 --- a/controller.py +++ b/controller.py @@ -150,6 +150,7 @@ class Const: current = [] old = [] + future = [] for e in expenses: if e.start <= d: @@ -157,8 +158,10 @@ class Const: current.append(e) else: old.append(e) + else: + future.append(e) - return render("constlist", current = current, old = old) + return render("constlist", current = current, old = old, future = future) else: exp = ConstExpense.get(id) |