Screens / All orders
All orders
Open, completed and cancelled orders for one day (PAN-69, handoff §19), opened from the Open orders / All orders segments on Orders. A day row steps back and forward (never past today) and chips filter All, Open, Completed (status=closed) or Cancelled. Pages of 25 load as the list scrolls (cursor); there are no counts. An open order opens in Orders; a completed or cancelled one is shown read-only (the right pane on desktop, its own page at /orders/all/:orderId on a phone). Item names come from the order catalogue Orders already caches. Rows on screen stay when the network drops (offline banner). A cancelled order shows who cancelled it (cancelled_by_name, PAN-82/PAN-84) and the cancel note (PAN-74) in the read-only detail.
- App routes
/orders/all/orders/all/:orderId- Access
- orders.view
- Screen code
lib/screens/orders/order_history_page.dartlib/screens/orders/order_history_controller.dartlib/screens/orders/order_history_bindings.dartlib/screens/orders/widgets/orders_segments.dartlib/screens/orders/widgets/order_day_row.dartlib/screens/orders/widgets/order_history_row.dartlib/screens/orders/widgets/order_status_chip.dartlib/screens/orders/widgets/final_order_detail.dartlib/domain/orders/order_close_rules.dart- Source
- elmermj/panly-app @ pre-staging-test (72aaffd)
API calls (4)
Each call links to its operation in the API reference. Code locations are file:line in panly-app at 72aaffd, listed from the screen down to the line that sends the request.