From e97d460a4a12222d7727e5161a8e2a4f43c1ff81 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 22 Aug 2011 23:26:49 +0200 Subject: [PATCH] iterate also on deactivated people, show them if they owe or should receive money --- budget/templates/list_bills.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index d73a95f..77dba81 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -41,7 +41,8 @@ {% set balance = g.project.get_balance() %} - {% for member in g.project.active_members %} + {% for member in g.project.members %} + {% if member.activated or balance[member] != 0 %} + {% endif %} {% endfor %}
{{ member.name }} @@ -49,6 +50,7 @@ delete