RFID-based canteen access system with admin login, local SQLite storage, and production sync (WPF).
Go to file
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
Converters Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
Data Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
Helpers Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
Models Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
Properties/PublishProfiles Database cleanup and production sync improvements 2026-02-18 16:50:04 +05:00
Services Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
ViewModels Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
Views Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
assets feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI 2026-02-04 18:18:17 +05:00
.gitignore feat(settings): add manual sync + secure config template 2026-02-11 12:47:53 +05:00
App.xaml Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
App.xaml.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
MainWindow.xaml fixes : auto deployment and bug fixes 2026-02-16 10:17:20 +05:00
MainWindow.xaml.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
UtopiaCanteenSystem.csproj feat: MySQL direct sync, IP tracking, and SiteId normalization 2026-02-09 18:08:13 +05:00
appsettings.example.json Database cleanup and production sync improvements 2026-02-18 16:50:04 +05:00
temp.txt Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00