Utopia-Canteen-System/Services
SYED MUSTUFA AHMED NAQVI e496445b35 Persist per-scan meal details and fix order history state across restarts
Store meal/session label, menu items, total price, department, and department type on each ScanRecord in SQLite so every scan keeps its own metadata.
Add lightweight schema upgrades for lunch_order_transactions to include MealLabel, MealItems, TotalPrice, Department, and DepartmentType.
Update RfidService to populate these new fields and expose UpdateLastScanMealInfo for post-scan enrichment.
Fix dashboard startup logic to restore last scanned employee (ID, name, department, department type, meal) from the last ScanRecord.
Refactor order history and “View All” modal to read Meal/Items and Price from each row’s stored values instead of a global in-memory label.
Include Meal and Price columns in the CSV export, using per-record data.
Remove unused local MealSchedules/OrderItems SQLite tables and ensure they are dropped as legacy schema.
2026-03-02 15:04:33 +05:00
..
AdminAuditService.cs feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI 2026-02-04 18:18:17 +05:00
AppSession.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
AuthResult.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
AuthService.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
ConfigService.cs Use employee RFID site id for menu lookup 2026-02-24 13:27:50 +05:00
DbMealSessionResolver.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
EmployeeLookupService.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
IAdminAuditService.cs feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI 2026-02-04 18:18:17 +05:00
IAuthService.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
IConfigService.cs Use employee RFID site id for menu lookup 2026-02-24 13:27:50 +05:00
IEmployeeLookupService.cs Use employee RFID site id for menu lookup 2026-02-24 13:27:50 +05:00
IMealScheduleService.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
IMealSessionResolver.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
IMenuLookupService.cs Use employee RFID site id for menu lookup 2026-02-24 13:27:50 +05:00
INavigationService.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
IRfidService.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
ISyncService.cs chnage in layout of view all 'order' modal and chnage the local table name from ScanRecords to lunch_order_transactions 2026-02-09 12:17:08 +05:00
MenuLookupService.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
NavigationService.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
ProductionMealScheduleService.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
RfidService.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
SampleSyncApiController.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
ScanResult.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
SyncService.cs Database cleanup and production sync improvements 2026-02-18 16:50:04 +05:00