diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-07-31 23:55:18 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-07-31 23:55:18 +0200 |
| commit | 769bcbf3f10f59a1bce952c336adeb1804a5cc77 (patch) | |
| tree | 46e7c4266b3a93d4ffa67d77d03e24cf2c5f998a /budget/templates/compute_bills.html | |
| parent | 548101d8bbd5adff4887cfad8fc70d1a4cf82370 (diff) | |
| download | ihatemoney-mirror-769bcbf3f10f59a1bce952c336adeb1804a5cc77.zip ihatemoney-mirror-769bcbf3f10f59a1bce952c336adeb1804a5cc77.tar.gz ihatemoney-mirror-769bcbf3f10f59a1bce952c336adeb1804a5cc77.tar.bz2 | |
Makes the computation working.
Diffstat (limited to 'budget/templates/compute_bills.html')
| -rw-r--r-- | budget/templates/compute_bills.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/budget/templates/compute_bills.html b/budget/templates/compute_bills.html index 8f286cf..4c6fd56 100644 --- a/budget/templates/compute_bills.html +++ b/budget/templates/compute_bills.html @@ -1,4 +1,9 @@ {% extends "layout.html" %} + +{% block top_menu %} +<a href="{{ url_for('list_bills', project_id=project.id) }}">Back to the list</a> +{% endblock %} + {% block content %} <h2>Computations</h2> @@ -12,14 +17,14 @@ </div> <div class="container span-6 last"> - <a class="awesome large green button" onclick = "if (! confirm('Are you sure ?')) return false;" href="{{ url_for("reset_bills") }}">Mark this as payed / processed</a> + <a class="awesome large green button" onclick = "if (! confirm('Are you sure ?')) return false;" href="">Mark this as payed / processed</a> </div> <table> <thead><tr><th>Name</th><th>Balance</th></tr></thead> <tbody> -{% for name, balance in balances.items() %} - <tr><td>{{ name }}</td><td>{{ balance }}</td></tr> +{% for person, balance in balances.items() %} + <tr><td>{{ person.name }}</td><td>{{ balance }}</td></tr> {% endfor %} </tbody> </table> |
