minor update for bills, this needs to be dynamic
This commit is contained in:
3
TODO
3
TODO
@@ -1,4 +1,6 @@
|
|||||||
bills:
|
bills:
|
||||||
|
bill for the year (when removed from LE, should be dynamic)
|
||||||
|
|
||||||
bills html, and growth types are poor code repitition / lame... could I do something more like:
|
bills html, and growth types are poor code repitition / lame... could I do something more like:
|
||||||
{% for gt in growth %}
|
{% for gt in growth %}
|
||||||
{% if gt.name == 'Min' %}
|
{% if gt.name == 'Min' %}
|
||||||
@@ -13,4 +15,3 @@ CALC:
|
|||||||
* still get double health insurance bills sometimes (just viewing a new date might trigger this??? or at least when I changed years)
|
* still get double health insurance bills sometimes (just viewing a new date might trigger this??? or at least when I changed years)
|
||||||
|
|
||||||
UI:
|
UI:
|
||||||
* should try AI with how to distribute annotations better
|
|
||||||
|
|||||||
2
db.py
2
db.py
@@ -190,7 +190,7 @@ def get_historical_data():
|
|||||||
def get_budget_data(finance_data):
|
def get_budget_data(finance_data):
|
||||||
# annual bills - health ins (5k), rates (2.6), electricity (1.2), gas (2.1) - but 1.4 in 2025 due to EU trip, internet (1.6), car insurance (.7), rego (.8), house insurance (2.4), GFC (2.6), water (1.1), eweka (.1), phones (.5), melb. pollen (.03), nabu casa (.1) --- noting phone is elevated presuming I also go onto Aldi plan, but that there is no family discount, and health will be extra after stop working
|
# annual bills - health ins (5k), rates (2.6), electricity (1.2), gas (2.1) - but 1.4 in 2025 due to EU trip, internet (1.6), car insurance (.7), rego (.8), house insurance (2.4), GFC (2.6), water (1.1), eweka (.1), phones (.5), melb. pollen (.03), nabu casa (.1) --- noting phone is elevated presuming I also go onto Aldi plan, but that there is no family discount, and health will be extra after stop working
|
||||||
# fudging below - its more like 15.2 + health, and really gas will be more than 2.1 than 1.4, so about 16+5
|
# fudging below - its more like 15.2 + health, and really gas will be more than 2.1 than 1.4, so about 16+5
|
||||||
bills = 25357.07
|
bills = 25321.03
|
||||||
BUDGET=[]
|
BUDGET=[]
|
||||||
BUDGET.append( ('Bills', f"${bills:,.2f}") )
|
BUDGET.append( ('Bills', f"${bills:,.2f}") )
|
||||||
BUDGET.append( ('Buffer', f"${finance_data['CBA']*finance_data['CBA_price']+finance_data['TLS']*finance_data['TLS_price']:,.2f}") )
|
BUDGET.append( ('Buffer', f"${finance_data['CBA']*finance_data['CBA_price']+finance_data['TLS']*finance_data['TLS_price']:,.2f}") )
|
||||||
|
|||||||
Reference in New Issue
Block a user