From 3749c01e934bd9daeec5f831f18470eb2f7db392 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 30 Aug 2025 14:10:56 +1000 Subject: [PATCH] hacky better formatting of Totals --- TODO | 2 -- main.py | 1 - templates/bills.html | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/TODO b/TODO index 27f8386..453af88 100644 --- a/TODO +++ b/TODO @@ -1,6 +1,4 @@ UI: - increase lhs / decrease rhs - add column to bill_type for "2025 Cost" - - use to work out why bills by hand and bills calc a few hundred dollars out. For bills: [DONE] - calculate pragmatic min/avg/max/simple diff --git a/main.py b/main.py index 30ca9c0..622815e 100644 --- a/main.py +++ b/main.py @@ -149,7 +149,6 @@ def DisplayBillData(): bill_ui = get_bill_ui() bill_info=process_bill_data(bill_data, bill_types, bill_freqs) total=calc_future_totals(bill_info, bill_types) - print( f"total={total}" ) bill_data = get_bill_data() return render_template('bills.html', bill_data=bill_data, bill_types=bill_types, bill_freqs=bill_freqs, bill_ui=bill_ui, this_year=datetime.today().year, END_YEAR=END_YEAR, total=total ) diff --git a/templates/bills.html b/templates/bills.html index 9076f92..37a6ff7 100644 --- a/templates/bills.html +++ b/templates/bills.html @@ -96,7 +96,7 @@ {% endif %} {% endfor %}
-
+
Total bills in {{yr}}