From 07f2a321ecdbdfa79aae0b0b4e0f9189a5df7a14 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 31 Aug 2025 11:07:08 +1000 Subject: [PATCH] added support for Quarterly (seasonal) and Quarterly (fixed), also updated live DB to match --- db.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/db.py b/db.py index 4ce1d96..a9b03ef 100644 --- a/db.py +++ b/db.py @@ -133,8 +133,9 @@ def init_db(): VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)''', (4762.29, 10, 24000, 620, 2412, 45824.68, 83738.74, 80000, 424875.26, 4.75, 2.4, 10000, 50000, 10000, 76.85, 1000, 750, 1111, 4.52, 163.32, '2025-06-01', '2025-09-01', '2025-02-20', 4, 0, 0)) cur.execute( "INSERT INTO bill_freq values ( 1, 'Annual', 1 )" ) - cur.execute( "INSERT INTO bill_freq values ( 2, 'Quarterly', 4 )" ) - cur.execute( "INSERT INTO bill_freq values ( 3, 'Monthly', 12 )" ) + cur.execute( "INSERT INTO bill_freq values ( 2, 'Quarterly (seasonal)', 4 )" ) + cur.execute( "INSERT INTO bill_freq values ( 3, 'Quarterly (fixed)', 4 )" ) + cur.execute( "INSERT INTO bill_freq values ( 4, 'Monthly', 12 )" ) # start with no specific Tab/bill_type to show, and dont show_estimated cur.execute( "INSERT INTO bill_ui values ( 1, null, 0 )" ) conn.commit()