updating comment / bills total
This commit is contained in:
4
db.py
4
db.py
@@ -149,8 +149,8 @@ def get_finance_data():
|
|||||||
return dict(finance)
|
return dict(finance)
|
||||||
|
|
||||||
def get_budget_data(finance_data):
|
def get_budget_data(finance_data):
|
||||||
# annual bills - health ins (5k), rates (2.4), electricity (1.5), gas (2), internet (1.6), car insurance (.7), rego (.8), house insurance (2.4), GFC (2.2), water (1.2), eweka (.e (.7)), phones (.5), melb. pollen (.03), nabu casa (.1), eweka (.1) --- noting phone is elevated presuming I also go onto Aldi plan, but that there is no family discount
|
# annual bills - health ins (5k), rates (2.4), electricity (1.4), gas (2.1), internet (1.6), car insurance (.7), rego (.8), house insurance (2.4), GFC (2.4), water (1.2), 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
|
||||||
bills = 21330
|
bills = 20730
|
||||||
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