Commit Graph

27 Commits

Author SHA1 Message Date
f309dfa947 redid bills UI, you can now choose CPI or FLAT X% as well, via a drop-down not a set of buttons. The changing of inflation also tweaks any bills using CPI, all works 2025-12-23 18:35:52 +11:00
9cc907fb62 added a basic comparison set page, with a table of the data that changes only (just to fit it in) and allowing them to be deleted 2025-11-01 22:48:21 +11:00
227e95cab7 add a button to recalc bills by removing all esimated bills and rebuild them 2025-10-17 21:22:07 +11:00
8274da0ce0 fix up containerfluid to container-fluid, and add some margin for left/right on bills 2025-09-15 22:16:40 +10:00
fc1746d749 also update to reflect bill_type_id change to bill_type 2025-09-05 16:19:01 +10:00
d80cffa0dd fix up mistaken col-4 for wrong Date header, move from name to bill_type for new/update bill and support future dates by showing future in the text, rather than show an actual input type=date 2025-09-02 23:01:00 +10:00
95d792e72f added a set of titles when adding new bill / new bill types, allows to toggle date to be when quit or normal date, with normal date we use data, with when quit, we have growth we will use for simple growth and then date(s) can be factored in based on when I quit which is changable in the main financial data 2025-09-02 22:05:16 +10:00
c21bda8da0 the 5 is unnecessary, as the width of 6ch does the sizing anyway 2025-08-31 16:48:40 +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
392daa1deb fixed total not showing in %.2f BUG 2025-08-31 10:33:08 +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
8f69023ffd format totals per year and based on dates/END_YEAR 2025-08-28 21:19:58 +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
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
65fc68e0bf gone with forced dark mode 2025-08-24 22:00:45 +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
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
3d95cd1d2e estimates now show as italic and do not get any action buttons when shown 2025-08-20 18:30:02 +10:00
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 2025-08-20 18:08:44 +10:00
cf104b5a56 added some better formatting (spacing, headers to tables, etc), flipped the left / right, so now bill type is on left with support for bill_freq being a <select> and on the right, we now have tabbed views of different bill_types 2025-08-18 11:16:32 +10:00
7bab6eabdd finished functional bills page, all naming conventions consistent for html entities, classes, and matching DB fields 2025-08-14 15:54:50 +10:00
b02e03339e Changing a bill (bill_data) now works, as does cancelling cleanly - this is now functional. I have renamed/improved the left-hand-side fields, right-hand-side next - to improve consistency between html and db and bill_data and bill_type 2025-08-14 15:32:09 +10:00
0c0745fe68 First pass of adding bills to finplan.
We now have a new page /bills that shows any bills on the left-hand side (type, date, amount)
and bill types and some derived values (frequency and annual growth rate) on the right-hand side

The new bill, and new bill type buttons/logic all work
The delete bill and bill type buttons/logic all work

The change bill type logic all works (and is a touch complex, it alters the GUI
to show/hide different buttons, and disable/re-enable content in the bill types
table

THe change bill is disabled for now and for later
2025-08-14 12:15:26 +10:00