From 02242f2e12e98ebad7e3c401cfa3b31d7bb651cc Mon Sep 17 00:00:00 2001 From: Edwin Smulders Date: Sun, 9 Feb 2020 13:03:52 +0100 Subject: Initial montly expenses (#526) --- ihatemoney/templates/statistics.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ihatemoney/templates/statistics.html') diff --git a/ihatemoney/templates/statistics.html b/ihatemoney/templates/statistics.html index 0cfe1f2..539781f 100644 --- a/ihatemoney/templates/statistics.html +++ b/ihatemoney/templates/statistics.html @@ -21,6 +21,7 @@ {% block content %} +

{{ _("Balance") }}

@@ -33,5 +34,17 @@ {% endfor %}
{{ _("Who?") }}{{ _("Paid") }}{{ _("Spent") }}
+

{{ _("Expenses by Month") }}

+ + + + {% for month in months %} + + + + + {% endfor %} + +
{{ _("Period") }}{{ _("Spent") }}
{{ _(month.strftime("%B")) }} {{ month.year }}{{ "%0.2f"|format(monthly_stats[month.year][month.month]) }}
{% endblock %} -- cgit v1.1