← All tests

Order Management STAGING

Next-Phase n2 rework (Narong). Verified on demo.staging 4/4 + staging smoke 5/5.

Built to Narong's two decisions: status follows the kitchen (Model A — his reply "This should follow the kitchen") and it's a read/monitor view ("we don't want to interact with it much"). Folded the separate Order Management page into the main Orders view (/orders + /pos/orders); /orders/management redirects here. Status tabs + paid metrics + Ticket # + per-row Print/Kitchen (Refund in the Details modal). The register "All orders" tab is augmented with a fulfillment badge. Kitchen-derived, no migration.

Live on demo.staging

Order Management on demo.staging
The deployed view at demo.staging › Point of Sale › Order Management — all 6 status tabs, the 3 paid-revenue metric cards, date nav, empty state (demo has no products, so no orders today). The /orders/management route redirects here.

Full data path (Gate-1, real component + mock orders)

Open tab with orders
Open (4) = Pending (2) + Preparing (1) + Ready (1); paid metrics (Showing 4 · $42 · avg $10.50); Ticket #, Type, color-coded Status, Elapsed, Print + Kitchen.
Closed tab filter
Status tabs filter the list — Closed shows the 2 completed orders.

Checks

Login + Order Management renders at /orders on stagingpass
All 6 status tabs + 3 metric cards presentpass
/orders/management → /orders redirectpass
Full view (tabs · counts · metrics · badges · filter · actions)Gate-1 7/7
Staging smoke5/5

nix-cafe dev 45a30fbstaging 49ebeae (Worker nix-cafe-staging 26e484d9). 8 files, no migration. Parked on staging for the scheduled prod promote.