hacky better formatting of Totals

This commit is contained in:
2025-08-30 14:10:56 +10:00
parent c41048ab82
commit 3749c01e93
3 changed files with 1 additions and 4 deletions

2
TODO
View File

@@ -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

View File

@@ -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 )

View File

@@ -96,7 +96,7 @@
{% endif %}
{% endfor %}
<div class="row">
<div class="pt-4 col text-end h4">
<div class="pt-4 offset-4 col text-end h4">
Total bills in {{yr}}
</div>
<div class="pt-4 col h4 text-primary">