Description
AuditLogTable.tsx displays an invoice's audit log in the UI but offers no export for offline archival/compliance record-keeping. This issue adds a structured JSON export.
Technical Context
Involves src/components/AuditLogTable.tsx. Add an "Export JSON" button producing a complete structured record: invoice metadata, full audit log entries, and payment history, suitable for long-term archival outside the app.
Acceptance Criteria
Description
AuditLogTable.tsxdisplays an invoice's audit log in the UI but offers no export for offline archival/compliance record-keeping. This issue adds a structured JSON export.Technical Context
Involves
src/components/AuditLogTable.tsx. Add an "Export JSON" button producing a complete structured record: invoice metadata, full audit log entries, and payment history, suitable for long-term archival outside the app.Acceptance Criteria
invoice-{id}-archive-{timestamp}.json