aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/settle_bills.html
diff options
context:
space:
mode:
authorA.Avenel <avenel.alexandre@gmail.com>2013-04-07 22:14:32 +0200
committerA.Avenel <avenel.alexandre@gmail.com>2013-04-07 22:14:32 +0200
commit0d7c82b12267ed3a9ece1ca72a71cea077e9cc0f (patch)
tree664900152d10dc061e4ed723c9fc9d7781741111 /budget/templates/settle_bills.html
parent1fa0cff180d668a8d93d24413fe7832cdbd3e826 (diff)
downloadihatemoney-mirror-0d7c82b12267ed3a9ece1ca72a71cea077e9cc0f.zip
ihatemoney-mirror-0d7c82b12267ed3a9ece1ca72a71cea077e9cc0f.tar.gz
ihatemoney-mirror-0d7c82b12267ed3a9ece1ca72a71cea077e9cc0f.tar.bz2
More code cleanup for "settle bills"
Diffstat (limited to 'budget/templates/settle_bills.html')
-rw-r--r--budget/templates/settle_bills.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/settle_bills.html b/budget/templates/settle_bills.html
index 309642a..e2041f5 100644
--- a/budget/templates/settle_bills.html
+++ b/budget/templates/settle_bills.html
@@ -34,9 +34,9 @@
<thead><tr><th>{{ _("Who pays?") }}</th><th>{{ _("To whom?") }}</th><th>{{ _("How much?") }}</th></tr></thead>
<tbody>
{% for bill in bills %}
- <tr class="{{ loop.cycle("odd", "even") }}" owers={{bill.owers|join(',','id')}} payer={{bill.payer.id}}>
+ <tr class="{{ loop.cycle("odd", "even") }}" receiver={{bill.receiver.id}}>
<td>{{ bill.ower }}</td>
- <td>{{ bill.payer }}</td>
+ <td>{{ bill.receiver }}</td>
<td>{{ "%0.2f"|format(bill.amount) }}</td>
</tr>
{% endfor %}