WFDASH-WEBAPP/src/app/api
SJCoetz 70eb59e17a feat(orders): add Order Sprint page + process modal + sidebar entry
Wires a new /orders/sprint surface that lists pending order items
(purchase_order = '' && item_status = 'pending') grouped by category,
mirrors the quote-sprint workflow. Click a row to open
OrderSprintProcessModal for assigning a supplier, cost, and emitting
a purchase order.

Sidebar gets an "Order Sprint" entry under the Orders group.

Notes:
- No automated tests yet (manual smoke test recommended).
- OrderSprintItem type is defined locally in both page.tsx and the
  modal — duplicated but consistent; extract to types.ts in a follow-up.
- Page + modal use client-side getPocketBase (Pb is filtered to the
  user); the counts route is server-side.

Co-authored-by: Orca <help@stably.ai>
2026-07-29 17:50:21 +02:00
..
invoicing feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
mcp feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
v1 feat(orders): add Order Sprint page + process modal + sidebar entry 2026-07-29 17:50:21 +02:00