From 338b63aa06c0b82dac45f052324d7222cc698baf Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 30 Aug 2025 13:58:56 +1000 Subject: [PATCH] now the UI shows annual costs, updated the comments and bills figure again to be more accurate --- db.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/db.py b/db.py index 6d105e9..4ce1d96 100644 --- a/db.py +++ b/db.py @@ -149,8 +149,9 @@ def get_finance_data(): return dict(finance) def get_budget_data(finance_data): - # 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 = 20730 + # 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 + bills = 21000 BUDGET=[] 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}") )