feat: Refactor logging module structure and implement audit logging functionality

This commit is contained in:
Aiirondev_dev committed 2026-05-20 18:01:08 +02:00
1 parent f847faea3e
commit a7ff2f1552
6 files changed
+198 -5

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ def get_current_status(ausleihung, log_changes=False, user=None):
if log_changes and new_status != original_status and '_id' in ausleihung:
try:
# Importieren Sie das Modul nur bei Bedarf, um zirkuläre Importe zu vermeiden
import Web.modules.logs.ausleihung_log as ausleihung_log
import Web.modules.log.ausleihung_log as ausleihung_log
ausleihung_log.log_status_change(
str(ausleihung['_id']),
original_status,