TorbatYar/docs/frontend/page-patterns.md
Mortezakoohjani 12c8615615 Ship enterprise Accounting FE/API with CRUD parity and production wiring.
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>
2026-07-24 15:26:43 +03:30

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.