feat(admin): sales summary, ticket activity and finance exports pages (#47, slice 2) #149
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/kws!149
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/admin-report-pages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Second slice of #47: admin pages for the report APIs that had none. This is web only, with no API change. Plan:
docs/superpowers/plans/2026-11-03-admin-report-pages.md.What changes
/reports/sales-summary,reports.view):/reports/ticket-activities,reports.view):.xlsx;/reports/finance,finance.manage): choose the days, then download Daily sales, QR income, Payment exceptions, Daily invoice or Pax and revenue. Each download has one line saying what it holds.usePagedReportnow serves both Transactions and Ticket activity: rows without repeats, a fresh first page on Apply, and Retry and Load more..xlsxhelper keeps the server's file name only when it is a plain safe name.GET /v1/parks, becausereports.viewalone cannot read the admin list.currency=usd, an unknownstatus, or a park id that is not a uuid) is now a field error and nothing is fetched. Before this, the value was left out and the page showed and exported unfiltered rows. This also changes the existing Transactions page.Verification
make cover: 91.6 % total (minimum 80 %). There is no Go change.scripts/web-e2e.sh: ticket 207, admin 140. The admin count includes a new journey over the three pages at 320, 768 and 1280 px, with axe checks and no sideways scrolling.My calls, for the owner (the design questions were skipped)
Deferred minors
FINANCE_REPORTSand the page's list), and each hint is not tied to its button witharia-describedby.🤖 Generated with Claude Code