Project

General

Profile

Actions

Feature #326

open
NP NP

Canteen: Ward meal sheet Task 1 — auto-populate MealSheetLine from synced diet orders

Feature #326: Canteen: Ward meal sheet Task 1 — auto-populate MealSheetLine from synced diet orders

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

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

0%

Estimated time:
Resolved By:

Description

Found while comparing the prototype against the built module: MealSheetService exists (D24) but nothing calls RecordWardCountAsync/FreezeAsync anywhere. DietOrderSyncService.UpsertAsync now resolves the admission's ward via IAdmissionServiceContract and records the ward's count for each active order synced.

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

  • Status changed from New to Resolved
  • Resolved By set to Navya P.

DietOrderSyncService now calls MealSheetService.RefreshFromActiveOrdersAsync after every sync. Idempotent (SetPatientCount/SetTotalPatients overwrite, not accumulate) to avoid double-counting on repeated polls. Fixed a DI gap this surfaced in DietOrderPollJobTests. nuvita-canteen-management@bf34948.

Actions

Also available in: PDF Atom