debugging fot the damaged view
This commit is contained in:
@@ -10457,6 +10457,9 @@ def admin_damaged_items():
|
||||
raw_user = item_doc.get('User', '')
|
||||
decrypted_user = decrypt_text(raw_user) if raw_user else ''
|
||||
|
||||
app.logger.debug(f"Processing damaged item {item_id}: {item_doc.get('Name', '')}, Reports: {len(reports)}, Latest Report: {latest_report}, Decryptete user: {decrypted_user}, Active Borrow: {active_borrow}")
|
||||
|
||||
|
||||
damaged_rows.append({
|
||||
'id': item_id,
|
||||
'name': item_doc.get('Name', ''),
|
||||
|
||||
Reference in New Issue
Block a user