From a3b49a231fac1341493960daecfdfe67901d4750 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sat, 23 Jul 2011 20:36:13 +0200 Subject: Manage users creation --- budget/templates/list_bills.html | 53 ++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 21 deletions(-) (limited to 'budget/templates/list_bills.html') diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index d0f0c41..145f4f4 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -1,26 +1,37 @@ {% extends "layout.html" %} {% block content %} -{% if bills.count() > 0 %} - - - -{% for bill in bills %} - - - - - - - - -{% endfor %} - -
When ?Who paid?for what ?OwersHow much ?Actions
{{ bill.date }}{{ bill.payer }}{{ bill.what }}{% for ower in bill.owers %}{{ ower.name }} {% endfor %}{{ bill.amount }} ({{ bill.pay_each() }} each)delete
+
+ + {% set form=member_form %} + {% include "member_form.html" %} +
+
+ {% if bills.count() > 0 %} + + + + {% for bill in bills %} + + + + + + + + + {% endfor %} + +
When ?Who paid?for what ?OwersHow much ?Actions
{{ bill.date }}{{ bill.payer }}{{ bill.what }}{% for ower in bill.owers %}{{ ower.name }} {% endfor %}{{ bill.amount }} ({{ bill.pay_each() }} each)delete
-Compute bills -

Periodically (probably at the end of each month, you can compute the balance of each people, in order to reset all the debts. You can also let this "as-is" and try to find a good balance, that's up to you

+ Compute bills +

Periodically (probably at the end of each month, you can compute the balance of each people, in order to reset all the debts. You can also let this "as-is" and try to find a good balance, that's up to you

-{% else %} -

Nothing to list yet. You probably want to add a bill ?

-{% endif %} + {% else %} +

Nothing to list yet. You probably want to add a bill ?

+ {% endif %} +
{% endblock %} -- cgit v1.1