Project

General

Profile

Actions

Feature #289

open
NP NP

Canteen: D27 — diet-order inbox list page

Feature #289: Canteen: D27 — diet-order inbox list page

Added by Navya P. about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/08/2026
Due date:
% Done:

100%

Estimated time:
Resolved By:

Description

Week 6 D27. Wire the diet-order inbox to HTTP: GET /api/canteen/dietary/orders
(active snapshots for the hospital) + a portal list page linking into the
existing /dietary/orders/[orderId] review screen, which today only works
if you already know the order id.

NP Updated by Navya P. about 1 month ago Actions #1

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Resolved By set to Navya P.

Done. GET /api/canteen/dietary/orders + portal list page at /dietary/orders,
linking each row into the existing [orderId] review screen with the
admission id prefilled. Added "Diet orders" to the Dietary nav group.

Found and fixed a real bug along the way: IDietaryOrderReadContract (D22's
local placeholder) had no DI registration, so DietOrderSyncService failed
to construct at all -- this was silently crashing DietOrderPollJob in the
background every poll cycle already. Added a local stub (same pattern as
D25's admission one) so the service builds; only the actual IPD sync calls
throw until the real contract lands.

Backend: 4 new tests green, full suite 783/785 (2 pre-existing unrelated
failures). Portal: type-check clean, 472/472 tests green. Pushed to
integration/canteen-v1 (baa27d5).

Actions

Also available in: PDF Atom