RFID-based canteen access system with admin login, local SQLite storage, and production sync (WPF).
Go to file
SYED MUSTUFA AHMED NAQVI 4cdac8b4be HRMS lunch_order_item rows after lunch_order / production transaction insert
Extend SyncService so each unsynced SQLite scan still posts to production lunch_order_transactions and upserts HRMS lunch_order, then creates matching lunch_order_item rows. Item lines are derived from SQLite MealItems (split on +); each name is resolved via lunch_menu_week → lunch_menu_item → menu_item using site, menu date, meal name, and optional item_for from grade_type, with a fallback lookup if the meal filter misses. Inserts use lunch_order_id, lunch_menu_item_id, quantity (1), price_at_order_time, item_name, and item_type from HRMS, and skips duplicates for the same order and menu item.
2026-04-02 09:44:16 +05:00
Converters Persist per-scan meal details and fix order history state across restarts 2026-03-02 15:04:33 +05:00
Data Sync scans to lunch_order and enforce per-session daily scans 2026-03-09 13:01:08 +05:00
Helpers Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00
Models Fix: 2026-03-31 19:24:49 +05:00
Services HRMS lunch_order_item rows after lunch_order / production transaction insert 2026-04-02 09:44:16 +05:00
ViewModels Fix: 2026-03-31 19:24:49 +05:00
Views make the meal schedule page view only 2026-03-10 13:56:31 +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
scripts Align meal schedules and menus with current site and HRMS data 2026-03-17 10:14:05 +05:00
.gitignore "Stop tracking PublishProfiles" 2026-03-17 14:18:55 +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 Fix: 2026-03-31 19:24:49 +05:00
CONFIG_FIX_SUMMARY.md Align meal schedules and menus with current site and HRMS data 2026-03-17 10:14:05 +05:00
MEAL_SCHEDULE_VIEW_ONLY_CHANGES.md Align meal schedules and menus with current site and HRMS data 2026-03-17 10:14:05 +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
UtopiaCanteenSystem.sln Add solution file to repo root 2026-03-05 14:13:17 +05:00
appsettings.example.json Fix config overwrite on login/navigation; use production DB for meal schedule CRUD, remove default SiteId normalization, add config load/save logging, and support legacy SiteId format. 2026-03-10 10:40:51 +05:00
temp.txt Initial commit: admin login + scanner flow + sqlite persistence + sync service 2026-01-31 16:53:32 +05:00