Utopia-Canteen-System/ViewModels
SYED MUSTUFA AHMED NAQVI a1ff310afb Show HRMS employee photo in dashboard and order history
Add EmployeePhotoService to load and decode hrms.employee_photo blobs (data URI or raw bytes) using parent_document_id

Wire ScannerDashboardViewModel to load photos after RFID scan and on app restart, binding to EmployeeProfileImage

Display employee photos in left panel and order-history rows with graceful placeholder fallback

Store ParentDocumentId in scan records and expose it through HrmsEmployeeInfo / ScanRecord / OrderHistoryItem for photo lookups

Use employee.concatenated_name from HRMS for full employee name in lookups

Add CRUD support for meal schedules backed by hrms.meal_schedule (Add New + Save creates/updates schedules for a site and session)
2026-03-03 13:47:43 +05:00
..
AdminLoginViewModel.cs feat: admin login audit in SQLite; Settings Admin Card ID from DB; Scanner dashboard UI 2026-02-04 18:18:17 +05:00
AdminSettingsAuthViewModel.cs feat: scanner+dashboard unified UI with cooldown and local sqlite sync 2026-02-02 16:45:55 +05:00
MainDashoardViewModel.cs Database cleanup and production sync improvements 2026-02-18 16:50:04 +05:00
MainViewModel.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
MealSchedulesViewModel.cs Show HRMS employee photo in dashboard and order history 2026-03-03 13:47:43 +05:00
ScannerDashboardViewModel.cs Show HRMS employee photo in dashboard and order history 2026-03-03 13:47:43 +05:00
ScannerViewModel.cs Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
SettingsViewModel.cs Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00