Adds accounting-service PATCH/archive, fiscal helpers, COA templates and setup status, plus SuperApp Accounting UI (DS, scoreboard, masters, vouchers, ledger, ops modules) with session refresh and HTTPS public API URLs. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
587 B
Markdown
22 lines
587 B
Markdown
# Page Patterns
|
|
|
|
## Dashboard
|
|
|
|
Live KPIs from Query hooks (charts, accounts, fiscal years, vouchers) + service health badge.
|
|
|
|
## List + Create
|
|
|
|
`PageHeader` → `DataTable` → create `Dialog` with RHF+Zod. Invalidate query keys on success.
|
|
|
|
## Detail + Actions
|
|
|
|
Voucher detail: status cards, line table, ConfirmDialog for post/reverse/cancel.
|
|
|
|
## Reports
|
|
|
|
Period select → POST report engine → render JSON payload (export UI later when file APIs mature).
|
|
|
|
## Settings
|
|
|
|
Read-only service/tenant fiscal summary + theme control; deep settings live on domain pages.
|