aboutsummaryrefslogtreecommitdiff
path: root/budget
diff options
context:
space:
mode:
Diffstat (limited to 'budget')
-rw-r--r--budget/templates/dashboard.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/dashboard.html b/budget/templates/dashboard.html
index 796f4f4..e9c92dd 100644
--- a/budget/templates/dashboard.html
+++ b/budget/templates/dashboard.html
@@ -7,8 +7,8 @@
<tr>
<td>{{ project.name }}</td><td>{{ project.members | count }}</td><td>{{ project.get_bills().count() }}</td>
{% if project.has_bills() %}
-<td>{{ project.get_bills()[0].date }}</td>
-<td>{{ project.get_bills()[-1].date }}</td>
+<td>{{ project.get_bills().all()[0].date }}</td>
+<td>{{ project.get_bills().all()[-1].date }}</td>
{% else %}
<td></td>
<td></td>