diff --git a/.standalone.pid b/.standalone.pid
index 950e2496..7b648164 100644
--- a/.standalone.pid
+++ b/.standalone.pid
@@ -1,3 +1,3 @@
-833504
-833505
-833519
+834000
+834001
+834015
diff --git a/backend/routers/admin/exports.py b/backend/routers/admin/exports.py
index 6139188e..60957f2d 100644
--- a/backend/routers/admin/exports.py
+++ b/backend/routers/admin/exports.py
@@ -61,7 +61,7 @@ async def export_inventory_snapshot(
# Log export action
from backend.models import AuditLog
audit_entry = AuditLog(
- user_id=admin_user.id,
+ user_id=admin_user.sub,
action="EXPORT_INVENTORY_SNAPSHOT",
details=f"Exported in {format_type} format",
)
@@ -113,7 +113,7 @@ async def export_audit_trail(
# Log export action
audit_entry = AuditLog(
- user_id=admin_user.id,
+ user_id=admin_user.sub,
action="EXPORT_AUDIT_TRAIL",
details=f"Exported in {format_type} format",
)
@@ -211,7 +211,7 @@ async def export_db(
# Log export action
audit_entry = AuditLog(
- user_id=admin_user.id,
+ user_id=admin_user.sub,
action="EXPORT_DB",
details=f"Exported {type} in {format_type} format",
)
diff --git a/backups/ainventory_2026-04-23_15-15-00.tar.gz b/backups/ainventory_2026-04-23_15-15-00.tar.gz
new file mode 100644
index 00000000..5a5b000b
Binary files /dev/null and b/backups/ainventory_2026-04-23_15-15-00.tar.gz differ
diff --git a/frontend/components/admin/ExportPanel.tsx b/frontend/components/admin/ExportPanel.tsx
index ace35889..77018e4c 100644
--- a/frontend/components/admin/ExportPanel.tsx
+++ b/frontend/components/admin/ExportPanel.tsx
@@ -29,26 +29,27 @@ export function ExportPanel() {
};
return (
-
-
-
-
+
+
+
+
-
Export & Reports
-
- Download inventory snapshots and audit trails
-
+
Export & Reports
+
Download system snapshots and action logs
-
+
{/* Inventory Snapshot Section */}
-
-
-
Inventory Snapshot
-
- Export current inventory state with all item details
+
+
+
+
+ Inventory Snapshot
+
+
+ Export current inventory state with all item details and locations.
@@ -56,38 +57,31 @@ export function ExportPanel() {
{/* Audit Trail Section */}
-
-
-
Audit Trail
-
- Complete log of system actions and changes
+
+
+
+
+ Audit Trail
+
+
+ Complete history of system actions, changes, and user operations.
@@ -95,37 +89,27 @@ export function ExportPanel() {
{error && (
-
+
-
Error: {error}
+
Error: {error}
)}