poprawki w js

This commit is contained in:
Mateusz Gruszczyński
2025-07-15 23:55:50 +02:00
parent 9dcd144b34
commit 53394469de
5 changed files with 112 additions and 71 deletions

3
app.py
View File

@@ -650,6 +650,7 @@ def view_list(list_id):
percent=percent,
expenses=expenses,
total_expense=total_expense,
is_share=False
)
@@ -675,6 +676,7 @@ def shared_list(token=None, list_id=None):
receipt_files=receipt_files,
expenses=expenses,
total_expense=total_expense,
is_share=True
)
@@ -1650,6 +1652,7 @@ def handle_request_full_list(data):
"quantity": item.quantity,
"purchased": item.purchased if not item.not_purchased else False,
"not_purchased": item.not_purchased,
'not_purchased_reason': item.not_purchased_reason,
"note": item.note or "",
}
)