From c6ade28a59e7095f8053e22d90062c6843bb1519 Mon Sep 17 00:00:00 2001 From: shad0w Date: Wed, 24 Jun 2026 02:21:29 +0000 Subject: [PATCH] =?UTF-8?q?docs(nav):=20add=20Reports=20=E2=86=92=20Purcha?= =?UTF-8?q?sing=20routes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Pages-and-Navigation.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Pages-and-Navigation.md b/Pages-and-Navigation.md index ebe9232..843848a 100644 --- a/Pages-and-Navigation.md +++ b/Pages-and-Navigation.md @@ -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. \ No newline at end of file