Fix of an encryption issue
Release Inventarsystem / release-docker (push) Successful in 2m15s

This commit is contained in:
2026-08-19 22:40:25 +02:00
parent 3aa065d039
commit 7e20790bac
+1 -1
View File
@@ -9289,7 +9289,7 @@ def library_item_invoices(item_id):
entries.append({
'borrow_id': str(borrow_doc.get('_id')),
'borrow_status': borrow_doc.get('Status', ''),
'borrow_user': borrow_doc.get('User', ''),
'borrow_user': decrypt_text(borrow_doc.get('User', '')),
'borrow_start': borrow_doc.get('Start').strftime('%d.%m.%Y %H:%M') if isinstance(
borrow_doc.get('Start'), datetime.datetime) else '',
'borrow_end': borrow_doc.get('End').strftime('%d.%m.%Y %H:%M') if isinstance(borrow_doc.get('End'),