From 686be19f12815c274107cae8b0603790a0dd689a Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sat, 2 Nov 2024 01:31:35 -0300 Subject: [PATCH] feat: revamp Yearly Overview by currency --- .../fragments/currency_data.html | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/app/templates/yearly_overview/fragments/currency_data.html b/app/templates/yearly_overview/fragments/currency_data.html index 5941fb8..2e97b5a 100644 --- a/app/templates/yearly_overview/fragments/currency_data.html +++ b/app/templates/yearly_overview/fragments/currency_data.html @@ -1,10 +1,11 @@ {% load month_name %} {% load i18n %}
-
+
{% translate 'projected income' %}
+
{% for entry in totals.income_unpaid %}
-
+
{% translate 'projected expenses' %}
+
{% for entry in totals.expense_unpaid %}
-
+
{% translate 'projected total' %}
+
{% for entry in totals.balance_unpaid %}
@@ -51,11 +54,12 @@ {% endfor %}
-
-
+
+
{% translate 'current income' %}
+
{% for entry in totals.income_paid %}
-
+
{% translate 'current expenses' %}
+
{% for entry in totals.expense_paid %}
-
+
{% translate 'current total' %}
+
{% for entry in totals.balance_paid %}
@@ -102,11 +108,12 @@ {% endfor %}
-
-
+
+
{% translate 'final total' %}
+
{% for entry in totals.balance_total %}