first hard-coded version of a compare capability
This commit is contained in:
7
main.py
7
main.py
@@ -20,7 +20,12 @@ def index():
|
||||
if depletion_date:
|
||||
depletion_date=depletion_date.date(); # just show date
|
||||
|
||||
return render_template('index.html', finance=finance_data, depletion_date=depletion_date, savings=savings_per_fortnight, TLS=TLS, CBA=CBA, BUDGET=BUDGET)
|
||||
# work out comparison func, but hardcode for now:
|
||||
COMP={}
|
||||
COMP['date']='2025-02-05'
|
||||
COMP['amount']=414887
|
||||
|
||||
return render_template('index.html', finance=finance_data, depletion_date=depletion_date, savings=savings_per_fortnight, TLS=TLS, CBA=CBA, BUDGET=BUDGET, COMP=COMP)
|
||||
|
||||
@app.route('/update', methods=['POST'])
|
||||
def update():
|
||||
|
||||
Reference in New Issue
Block a user