|
|
f4490e937a
|
with dark mode, using info instead of primary feels easier on the eye and allows for consistency with graph colours
|
2025-08-31 16:41:40 +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
|
2025-08-31 16:32:18 +10:00 |
|
|
|
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
|
2025-08-31 16:32:00 +10:00 |
|
|
|
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
|
2025-08-31 16:29:29 +10:00 |
|
|
|
4a7080787b
|
new item
|
2025-08-31 16:28:36 +10:00 |
|
|
|
07f2a321ec
|
added support for Quarterly (seasonal) and Quarterly (fixed), also updated live DB to match
|
2025-08-31 11:07:08 +10:00 |
|
|
|
f67ca61cc7
|
working through future bills, we need to do quarterly future estimates differently for seasonal/fixed bills
|
2025-08-31 11:06:29 +10:00 |
|
|
|
9ad5089ac5
|
updated README, todo & bugs are now in own files
|
2025-08-31 11:05:57 +10:00 |
|
|
|
17f2534056
|
bug fixed where we had a bill deleted it then growth was still trying to be calc when it no longer could
|
2025-08-31 10:39:58 +10:00 |
|
|
|
392daa1deb
|
fixed total not showing in %.2f BUG
|
2025-08-31 10:33:08 +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
|
2025-08-31 10:24:46 +10:00 |
|
|
|
0ab0a112e4
|
new BUGs
|
2025-08-31 10:08:22 +10:00 |
|
|
|
4c96a9b576
|
with monthly bills and < 12 in first year, wont have full yr total so cant do simple growth - fix for this
|
2025-08-31 10:08:14 +10:00 |
|
|
|
7ad767759f
|
remove debug
|
2025-08-31 10:07:32 +10:00 |
|
|
|
24c581a35a
|
use totals to calc bill totals - should be less work, also improved cosmetics of totals display
|
2025-08-30 14:29:31 +10:00 |
|
|
|
3749c01e93
|
hacky better formatting of Totals
|
2025-08-30 14:10:56 +10:00 |
|
|
|
c41048ab82
|
made lhs wider, shrank rhs, put this_year total per bill type in lhs, altered totals formatting at bottom
|
2025-08-30 14:00:14 +10:00 |
|
|
|
7422321227
|
call calc_future_totals to pass data onto html so we can show per bill type annual amount in this year
|
2025-08-30 13:59:29 +10:00 |
|
|
|
338b63aa06
|
now the UI shows annual costs, updated the comments and bills figure again to be more accurate
|
2025-08-30 13:58:56 +10:00 |
|
|
|
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
|
2025-08-30 13:58:29 +10:00 |
|
|
|
4a2dd4d2da
|
want to tweak formating and have current year totals included
|
2025-08-30 13:14:03 +10:00 |
|
|
|
aee8916471
|
updating comment / bills total
|
2025-08-30 13:13:43 +10:00 |
|
|
|
8f69023ffd
|
format totals per year and based on dates/END_YEAR
|
2025-08-28 21:19:58 +10:00 |
|
|
|
d2bf472845
|
clean up TODO
|
2025-08-28 20:49:20 +10:00 |
|
|
|
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
|
2025-08-28 20:47:12 +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
|
2025-08-28 19:49:41 +10:00 |
|
|
|
91ebc227b6
|
add support for simple growth, also remove all estimated bills when we add a new real bill
|
2025-08-28 19:46:51 +10:00 |
|
|
|
89fe874c5c
|
added simple growth, changed column widths and header formats to work better. Added a quick and dirty Total bills in 2025 section
|
2025-08-28 19:46:23 +10:00 |
|
|
|
dda3a3e3fe
|
now we have dark mode, use different colors for lines on graphs
|
2025-08-28 19:45:21 +10:00 |
|
|
|
706aee6947
|
add a quick TODO to make UI slicker when adding bills
|
2025-08-28 19:45:02 +10:00 |
|
|
|
742911ec1b
|
still this bug - adding a qtrly bill years before the rest
|
2025-08-28 19:44:40 +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
|
2025-08-25 18:46:24 +10:00 |
|
|
|
65fc68e0bf
|
gone with forced dark mode
|
2025-08-24 22:00:45 +10:00 |
|
|
|
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
|
2025-08-24 16:09:51 +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
|
2025-08-23 10:48:29 +10:00 |
|
|
|
54c4c38403
|
noting multi-year growth figures are off - e.g. internet stays same price for 3 years
|
2025-08-22 18:14:31 +10:00 |
|
|
|
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
|
2025-08-22 18:10:09 +10:00 |
|
|
|
6bccfade2b
|
remove debug
|
2025-08-22 18:00:15 +10:00 |
|
|
|
b05f7b05e8
|
now remembers ui values for which tab we are on and whether we clicked show estimated or not
|
2025-08-22 16:51:04 +10:00 |
|
|
|
5bd94fc2c5
|
added basic UI improvements
|
2025-08-22 16:06:47 +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
|
2025-08-22 16:01:45 +10:00 |
|
|
|
1729c93bcd
|
cant have bills that are further than a year apart
|
2025-08-22 15:51:02 +10:00 |
|
|
|
78141d097f
|
amount needs to be cast to a float to be a .2f in new bill
|
2025-08-22 14:07:49 +10:00 |
|
|
|
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
|
2025-08-22 13:24:25 +10:00 |
|
|
|
3bfeb30640
|
fixed so estimating old bills works now
|
2025-08-22 13:23:49 +10:00 |
|
|
|
aa0512087f
|
update BUG
|
2025-08-21 18:23:06 +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
|
2025-08-21 18:20:32 +10:00 |
|
|
|
ada6dfa3f5
|
allow growth toggle radio buttons, non-functional, just looks
|
2025-08-21 17:36:17 +10:00 |
|
|
|
19cba866de
|
pragmatic growth patterns completed
|
2025-08-21 16:52:59 +10:00 |
|
|
|
cd7eca0c6e
|
simplified when we calc totals and hence growth, applied monthly growth annually
|
2025-08-21 16:52:37 +10:00 |
|