simple visual treatment of key dates

This commit is contained in:
2025-09-11 20:45:34 +10:00
parent 45d173e236
commit 4594630b9e
2 changed files with 24 additions and 4 deletions

View File

@@ -102,7 +102,8 @@ def index():
# now work out how much padding we need in the first year to align the last dates for all years
padding=second_count - first_count
return render_template('index.html', now=now, first_yr=first_yr, padding=padding, finance=finance_data, depletion_date=depletion_date, savings=savings_per_fortnight, BUDGET=BUDGET, COMP=COMP, DISP=DISP)
key_dates = calc_key_dates( finance_data )
return render_template('index.html', now=now, first_yr=first_yr, padding=padding, finance=finance_data, depletion_date=depletion_date, savings=savings_per_fortnight, BUDGET=BUDGET, COMP=COMP, DISP=DISP, key_dates=key_dates)
@app.route('/save', methods=['POST'])
def save():