From 3d9e5c470ab04ec15ec12b76d7b124ef6b8c988a Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Tue, 18 Aug 2026 21:12:47 +0200 Subject: [PATCH] Fix of an issue with the data being use for the button insert --- Web/app.py | 1 + Web/templates/library_borrowings_admin.html | 73 ++++++++++++--------- 2 files changed, 42 insertions(+), 32 deletions(-) diff --git a/Web/app.py b/Web/app.py index 8160065..4f4ad9b 100755 --- a/Web/app.py +++ b/Web/app.py @@ -3382,6 +3382,7 @@ def library_loans_admin(): 'item_code': item_doc.get('Code_4', ''), 'item_author': item_doc.get('Author', ''), 'item_isbn': item_doc.get('ISBN', ''), + 'item_cost_raw': item_doc.get('Anschaffungskosten', ''), 'user': decrypted_user, 'status': record.get('Status', ''), 'start': fmt_dt(record.get('Start')), diff --git a/Web/templates/library_borrowings_admin.html b/Web/templates/library_borrowings_admin.html index 0cf1c94..e044e7b 100644 --- a/Web/templates/library_borrowings_admin.html +++ b/Web/templates/library_borrowings_admin.html @@ -407,14 +407,14 @@ -