From 94f4108a3e0a678a3c456d4116fc88d73dfa0f14 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 17 Jan 2026 22:53:08 +1100 Subject: [PATCH] add_historical_annotations() --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index ab501dd..b5f83a9 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,6 @@ # main.py from flask import Flask, render_template, request, redirect, url_for, Response, jsonify -from calc import calculate_savings_depletion, calc_key_dates +from calc import calculate_savings_depletion, calc_key_dates, add_historical_annotations from db import init_db, get_historical_data, get_finance_data, update_finance, get_budget_data from db import insert_cset, get_comp_set_data, get_comp_set_options, delete_cset from db import get_bill_freqs, get_bill_growth_types @@ -32,6 +32,7 @@ def index(): bill_data = get_bill_data("order_by_date_only") bill_types = get_bill_types() depletion_date, savings_per_fortnight, final_savings = calculate_savings_depletion(finance_data, bill_data, bill_types) + add_historical_annotations( finance_data ) BUDGET=get_budget_data(finance_data) if depletion_date: