Add check-in audit logging + in-app history view
Every successful check-in/undo writes a row to the "2026 Ticket Audit Logs" NocoDB table (timestamp, people, code, action, name, remaining-after). Non-fatal: audit failures never block a gate check-in. New GET /api/audit endpoint (global or per-code). Admin panel gains a global "Recent check-ins" panel and per-ticket history. Audit table is optional via NOCODB_AUDIT_TABLE_ID. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
3397e3e3ec
commit
b36d63a6a4
11 changed files with 342 additions and 4 deletions
|
|
@ -9,6 +9,8 @@ NOCODB_BASE_URL=https://nocodb.beartariacampgrounds.com
|
|||
NOCODB_API_TOKEN=
|
||||
# Table ID of "2026 Campground Tickets" (right-click table -> Copy Table ID, looks like m1a2b3c4d5e6f7)
|
||||
NOCODB_TABLE_ID=
|
||||
# Optional: table ID of "2026 Ticket Audit Logs". If unset, audit logging is skipped.
|
||||
NOCODB_AUDIT_TABLE_ID=
|
||||
|
||||
# MailerSend
|
||||
MAILERSEND_API_TOKEN=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue