Commit Graph

47 Commits

Author SHA1 Message Date
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
fcff9233cb removed export button, made save button call modal dialog and it calls /save route 2025-02-14 15:16:21 +11:00
1272d3a786 comparison now works as required 2025-02-13 21:51:39 +11:00
14de3f1790 change to col-auto everywhere, with some more forcing of width maximums to make the page more consistent, redid defaults to incorporate updated per fortnight lease cost, and updated inflation figure/notes/references. Updated default Living expenses to 84000 to match latest view of data, fixed up compare_to to now work, shows a graph of data to compare with, allows drop-down to be compare_to nothing or a saved set, only 1 hand saved for now. Annotations on graph for large changes in savings now work and are legible - had to allow overlap and do some overly complex left/right up/down offsetting to make them all sensible 2025-02-13 17:12:02 +11:00
ce38b3d1f0 add annotations properly now 2025-02-12 18:06:49 +11:00
65ed02812a converted over to using a class in disp.py that defines data about each variable in the form, and use an array of these objects to format the form in templates/index.html -- provides consistency of bootstrap classes and makes it far easier to move items around columns/rows in the future, e.g. when I resign. Also, now retrieve actual values form comparison set data (still have hardcoded cset_id for now), but also stopped using separate vars for items like CBA/TLS, and buried them into the finance_data 2025-02-12 17:25:23 +11:00
af38b45034 revamp of front-end to ditch lazy table, and use divs / bootstrap better 2025-02-10 17:38:31 +11:00
b9b6da1f7a re-vamp of front-end to use less space. Also, first pass at using comparison data from DB, and created a function to find the last comparison value and use that in the table 2025-02-10 16:53:37 +11:00
b7768d767c first hard-coded version of a compare capability 2025-02-06 10:11:45 +11:00
c2886faa30 now allows downloading, defaults include health care and better leave calc. This is probably good enough now, so I have also saved a snapshot/csv of the data 2025-01-31 20:07:40 +11:00
b9f54505cc removed M_* variables that are no longer relevant, cleaned up interface to have columns more ordered, updated default values in DB to be more as accurate as I can make them for now 2025-01-30 16:53:31 +11:00
01d373e731 initial commit of finplan - works, with basic csv dump, need to remove unneeded variables, reformat and improve csv next 2025-01-30 16:23:05 +11:00