Commit Graph

61 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
ce20c57d11 added health check, forgot to add template/cset <- allows deletion of comparison sets in earlier commit, and added a new TODO 2025-11-05 01:13:22 +11:00
0a9a50f9a1 added ability to delete comparison sets, also made future bills recalc for Hydunday/D_quit dependent future bills, this is not effectively functional -v1.0 :) 2025-11-04 11:36:36 +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
252dc23364 make payment annotations show as negatives, use this to make annotations of adding go above graph, and generally payment annotaions below the line. Then switch to have the last few annoations above the graph regardless as we run out of room at that end of the graph 2025-09-16 23:24:19 +10:00
a75db565ee Created tabbed interface for the front page, update the TODO to match 2025-09-16 22:51:23 +10: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
6618dd16b4 use warning instead of info for consistency 2025-09-11 21:19:25 +10:00
4594630b9e simple visual treatment of key dates 2025-09-11 20:45:34 +10:00
b69ec82510 just made graph taller for now, might one day make it smaller or larger depending on whether we are comparing or not? 2025-09-11 17:50:54 +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
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
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
dda3a3e3fe now we have dark mode, use different colors for lines on graphs 2025-08-28 19:45:21 +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
67c855b731 redo the way we do padding to be much more accurate 2025-05-24 16:19:29 +10:00
7bc62a60dc fix for earlier in the month and vertical padding of first year 2025-05-01 14:07:16 +10:00
3ff230b92c added padding/blank lines so that first year dates line up with other years 2025-04-29 12:07:39 +10:00
8e43f572c7 made tooltip smarter for when comparing 2025-04-11 17:00:57 +10:00
9baa3b4987 only sell shares in the first year if its not in the same financial year, also show original buffer in comparing note 2025-03-20 17:23:48 +11:00
5fabec0125 decided to move the save / comp buttons to under the summary, just looks better 2025-02-20 16:09:02 +11:00
27f4766f10 allow passing of options into display class to remove hardcoding in html template, to support more than one select/drop-down. Also, made chaning the future for the ioniq6 payouts toggle appropiate buyout/lease vars to be readonly 2025-02-20 15:50:02 +11:00
852265b820 much simpler annotations spacing, and works better - just use 4 vert levels all left-aligned, not moving x offset every 2nd 2025-02-19 12:13:51 +11:00
8cbff9e2fa correctly show comparison data if the date is changed, not just the value for a comparison set 2025-02-15 21:09:13 +11:00
d6d2b93f42 collapse 000 to k in save name, move comp* alert to under the comp button to make it neater 2025-02-15 20:32:31 +11:00
ffa7e509ed fix up the alert-info width to be width of column its in, rather than hard-code it 2025-02-14 16:45:03 +11:00
7751f29a0f moved to a container, reduced default font size to 80% as it was just too large, updated requirements.txt to support containerisation (added gunicorn), but also removed locked versions 2025-02-14 16:34:16 +11:00
926cee9a6c improved comparison text 2025-02-14 16:20:45 +11:00
d0124213fc saving now works, remove exports completely 2025-02-14 16:08:28 +11:00