hacky better formatting of Totals
This commit is contained in:
2
TODO
2
TODO
@@ -1,6 +1,4 @@
|
|||||||
UI:
|
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:
|
For bills:
|
||||||
[DONE] - calculate pragmatic min/avg/max/simple
|
[DONE] - calculate pragmatic min/avg/max/simple
|
||||||
|
|||||||
1
main.py
1
main.py
@@ -149,7 +149,6 @@ def DisplayBillData():
|
|||||||
bill_ui = get_bill_ui()
|
bill_ui = get_bill_ui()
|
||||||
bill_info=process_bill_data(bill_data, bill_types, bill_freqs)
|
bill_info=process_bill_data(bill_data, bill_types, bill_freqs)
|
||||||
total=calc_future_totals(bill_info, bill_types)
|
total=calc_future_totals(bill_info, bill_types)
|
||||||
print( f"total={total}" )
|
|
||||||
bill_data = get_bill_data()
|
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 )
|
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 )
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<div class="row">
|
<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}}
|
Total bills in {{yr}}
|
||||||
</div>
|
</div>
|
||||||
<div class="pt-4 col h4 text-primary">
|
<div class="pt-4 col h4 text-primary">
|
||||||
|
|||||||
Reference in New Issue
Block a user