Damien De Paoli ddp
  • Joined on 2025-05-01
ddp pushed to master at ddp/finplan 2025-08-31 16:41:44 +10:00
f4490e937a with dark mode, using info instead of primary feels easier on the eye and allows for consistency with graph colours
ddp pushed to master at ddp/finplan 2025-08-31 16:32:23 +10:00
e373dd0009 Change approach with Qtr bills, all are simple based on last qtr - when we have normal Qtr bills (freq 'Quarterly') we just use last qtrs data for growth much easier. For GAS, we have the 'Quaterly (forced)' freq. which uses the forced/calc. amount per qtr for growth, its good enough for Gas bills - which dont always have 4 bills a year
3a5b77f12d Change approach with Qtr bills, all are simple based on last qtr - when we have normal Qtr bills (freq 'Quarterly') we just use last qtrs data for growth much easier. For GAS, we have the 'Quaterly (forced)' freq. which uses the forced/calc. amount per qtr for growth, its good enough for Gas bills - which dont always have 4 bills a year
c74383f89e added a commented out simple debug of totals to help understand bills for now - prob will make this into real table somehow in future
4a7080787b new item
07f2a321ec added support for Quarterly (seasonal) and Quarterly (fixed), also updated live DB to match
Compare 8 commits »
ddp pushed to master at ddp/finplan 2025-08-31 10:33:13 +10:00
392daa1deb fixed total not showing in %.2f BUG
ddp pushed to master at ddp/finplan 2025-08-31 10:24:52 +10:00
2937866617 improve how we find monthly bill in a month, dont use exact date just use yy-mm, also fix BUG where kayo used estimate in jan to project for the next 5years, rather than real bill in feb (all in the future) to estimate
0ab0a112e4 new BUGs
4c96a9b576 with monthly bills and < 12 in first year, wont have full yr total so cant do simple growth - fix for this
7ad767759f remove debug
Compare 4 commits »
ddp pushed to master at ddp/finplan 2025-08-30 14:29:34 +10:00
24c581a35a use totals to calc bill totals - should be less work, also improved cosmetics of totals display
ddp pushed to master at ddp/finplan 2025-08-30 14:11:01 +10:00
3749c01e93 hacky better formatting of Totals
c41048ab82 made lhs wider, shrank rhs, put this_year total per bill type in lhs, altered totals formatting at bottom
7422321227 call calc_future_totals to pass data onto html so we can show per bill type annual amount in this year
338b63aa06 now the UI shows annual costs, updated the comments and bills figure again to be more accurate
de32bdc7ff now have a calc_future_totals func that is used to allow html to show the bills as a simple annualised cost per year
Compare 7 commits »
ddp pushed to master at ddp/finplan 2025-08-28 21:20:06 +10:00
8f69023ffd format totals per year and based on dates/END_YEAR
d2bf472845 clean up TODO
e84faffd79 when choosing a Tab, make the new bill drop-down be of that type. When we save a new bill, change the last-tab to be the type of bill we just added
Compare 3 commits »
ddp pushed to master at ddp/finplan 2025-08-28 19:49:47 +10:00
2bdd1348b8 fixed a few bugs, annual growth was just broken, dont add another estimate bill when we have one for that year or in that quarter, removed lots of debugs, fixed a few bugs where the first data point in a new year/qtr would not have arrays initialised properly first, apportion quarterly data in future real bills - it happens with Rates
91ebc227b6 add support for simple growth, also remove all estimated bills when we add a new real bill
89fe874c5c added simple growth, changed column widths and header formats to work better. Added a quick and dirty Total bills in 2025 section
dda3a3e3fe now we have dark mode, use different colors for lines on graphs
706aee6947 add a quick TODO to make UI slicker when adding bills
Compare 6 commits »
ddp pushed to master at ddp/finplan 2025-08-25 18:46:29 +10:00
89d58e4cd3 fixed a few logic bugs with quarterly data, now accurately puts bill proportions into relevant quarters and estimates future bills based on quarterly data - all works so far
65fc68e0bf gone with forced dark mode
f3b828b051 well, calculated proportioned per quarter values - not making much difference on growth numbers, BUT, will now be able to project future estimates based on full quarter cost, not just a bill in that quarter that may only cover 2 months
Compare 3 commits »
ddp pushed to master at ddp/finplan 2025-08-23 10:48:31 +10:00
4b5b713c20 hack to handle gass bills (for now), seems we have more than 4 for a quarterly cycle, and they are all over the shop/inconsistent. Added thoughts on how to tackle in TODO
ddp pushed to master at ddp/finplan 2025-08-22 18:14:37 +10:00
54c4c38403 noting multi-year growth figures are off - e.g. internet stays same price for 3 years
1719032ebf wrapped new_bill in new_estimated_bill func, that adds to DB and to local bill_info, use this better to fill in quarterly future bills. Also exclude in growth calculations the final year of real bill if it includes estimates and real figures. For now, this is usable
6bccfade2b remove debug
Compare 3 commits »
ddp pushed to master at ddp/finplan 2025-08-22 16:51:07 +10:00
b05f7b05e8 now remembers ui values for which tab we are on and whether we clicked show estimated or not
5bd94fc2c5 added basic UI improvements
Compare 2 commits »
ddp pushed to master at ddp/finplan 2025-08-22 16:01:51 +10:00
444a01ea42 removed lots of debugs, added find_next_bill to allow better estimating of bills in the past. Growth now uses bills in the past (estimated included), which simplifies the code a bit. All working now except pragmatic missing quarterly bills not started
1729c93bcd cant have bills that are further than a year apart
78141d097f amount needs to be cast to a float to be a .2f in new bill
0cf3d9897f created find_previous_bill and use it to help work out gaps in bills - e.g. like with internet where I added only the new costs
3bfeb30640 fixed so estimating old bills works now
Compare 6 commits »
ddp pushed to master at ddp/finplan 2025-08-21 18:20:35 +10:00
3521d4c126 make radio button for min / avg / max growth value be pushed into which_growth in the DB for bill_type row, then also delete estimated bills for that bill_type, and then calling /bills, causes the estimated bills to be filled back in based on the new chosen growth model
ddp pushed to master at ddp/finplan 2025-08-21 17:36:19 +10:00
ada6dfa3f5 allow growth toggle radio buttons, non-functional, just looks
ddp pushed to master at ddp/finplan 2025-08-21 16:53:05 +10:00
19cba866de pragmatic growth patterns completed
cd7eca0c6e simplified when we calc totals and hence growth, applied monthly growth annually
c469f6d281 force new bill to restrict the amount to $/c (2 decimal points)
Compare 3 commits »
ddp pushed to master at ddp/finplan 2025-08-20 18:30:07 +10:00
3d95cd1d2e estimates now show as italic and do not get any action buttons when shown
d7320e8aa8 remove num we now use - bill_info[bill_type][num_ann_bills], fix bug where we were re-adding first year bills
5556b0ef15 removed debugs, actually add new bills when needed for monthly and annual, support new growth fields, ensure growth only works on real bills not new estimated bills.
9cd14505bf moved new bill type button over 2 more to accom new freq field, added slider/support for show estimated and support new growth db fields
b43b472e4b support esimated for new_bill - any GUI new bill is not an estimate
Compare 6 commits »
ddp pushed to master at ddp/photoassistant 2025-08-19 20:55:23 +10:00
391fd52332 commented out more debugs
ddp pushed to master at ddp/photoassistant 2025-08-19 20:53:36 +10:00
1831c49b15 fixed 2 x TODOs, can now add an existing face as a refimg, and I sped up the recent jobs page
ddp pushed to master at ddp/photoassistant 2025-08-19 20:22:54 +10:00
fa63e08b59 store away person.id per matched face to support match_add_refimg in context menu
e36fc170f1 moved container cwd to ~/src/photoassistant so that gunicorn can react to src code changes, also forced logs to docker logs
e3c94bf5eb added match_add_refimg support to context menu, allows us to take existing (presumably) better image and make it a refimg for someone its matched
db8cf68d4b added a clear messages (forced) to allow M to clear out annoying messages if needed
1a182d30b5 added a clear messages (forced) to allow M to clear out annoying messages if needed
Compare 10 commits »