added a basic comparison set page, with a table of the data that changes only (just to fit it in) and allowing them to be deleted

This commit is contained in:
2025-11-01 22:48:21 +11:00
parent 4bb336645a
commit 9cc907fb62
5 changed files with 36 additions and 6 deletions

8
db.py
View File

@@ -404,3 +404,11 @@ def delete_estimated_bills():
conn.commit()
conn.close()
return
def delete_cset(id):
conn = connect_db(False)
cur = conn.cursor()
cur.execute( f"delete from comparison_set where id = '{id}'" )
conn.commit()
conn.close()
return