docs(nav): add Reports → Purchasing routes

shad0w 2026-06-24 02:21:29 +00:00
parent 310d9c7e45
commit c6ade28a59

@ -1,7 +1,7 @@
# Pages and Navigation
The left sidebar adapts to the signed-in user's role and is organised into
**Purchasing** and **Administration** sections (with an Inventory group when the
**Purchasing**, **Reports**, and **Administration** sections (with an Inventory group when the
inventory flag is on). Routes below map to files under `app/(portal)/`.
## Sidebar (role-aware)
@ -49,6 +49,8 @@ SuperUser Requests /admin/superuser-requests ← ADMIN
| `/payments` | Payment Queue | MGR_APPROVED & SENT_FOR_PAYMENT cards; send/mark paid; partial |
| `/payments/history` | Payment History | Completed payments (ACCOUNTS, MANAGER) |
| `/history` | History & Export | All POs; filter by date/cost centre/multiple statuses; CSV/PDF. `export_reports` holders, plus submitters when the `SUBMITTER_VIEW_ALL` flag is on |
| `/reports/cost-centres` | Reports → Cost Centres | Approved spend compared across cost centres (vessels); drill to a cost-centre report. `view_analytics` |
| `/reports/accounting-codes` | Reports → Accounting Codes | Approved spend by the accounting-code tree (drill headings → sub → leaf); leaf opens its report. `view_analytics` |
| `/inventory/items` | Items (read-only) | Catalogue; expand for per-vendor prices; Cheapest/★Closest tags |
| `/inventory/items/[id]` | Item Detail | Price comparison, site-distance sort, stock by site |
| `/inventory/vendors` | Vendors | List with verified/active badges |
@ -88,4 +90,4 @@ Which buttons appear is computed from PO status × role (via
with a Sign-out button.
The design-system tokens (colours, typography, component conventions) are in
`Docs/01-design-document.md` §7.
`Docs/01-design-document.md` §7.