Utopia-Canteen-System/Views
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
..
AdminLoginView.xaml feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI 2026-02-04 18:18:17 +05:00
AdminLoginView.xaml.cs Scanner dashboard & sync updates 2026-02-03 18:26:39 +05:00
AdminSettingsAuthView.xaml feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI 2026-02-04 18:18:17 +05:00
AdminSettingsAuthView.xaml.cs feat: scanner+dashboard unified UI with cooldown and local sqlite sync 2026-02-02 16:45:55 +05:00
MainDashboardView.xaml Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
MainDashboardView.xaml.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
MealSchedulesView.xaml Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
MealSchedulesView.xaml.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
ScannerDashboardView.xaml Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
ScannerDashboardView.xaml.cs Add order history card + view-all modal; improve device id; prep settings post button 2026-02-06 18:06:28 +05:00
ScannerView.xaml Scanner dashboard & sync updates 2026-02-03 18:26:39 +05:00
ScannerView.xaml.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
SettingsView.xaml Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
SettingsView.xaml.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00