Added a configurable SyncServiceEnabled flag in app config and wired startup to run the background sync timer only when enabled. Updated scan processing to enforce production duplicate checks by employee_serial_number + order_date + meal_name + location_site_id, blocking same-session repeat scans with “Meal already taken” while still allowing different meals on the same day. Improved offline/online behavior by saving locally first and attempting immediate sync when production is reachable, and enhanced manual sync to treat production duplicates as success by marking local IsSynced=1 instead of retrying forever. |
||
|---|---|---|
| Converters | ||
| Data | ||
| Helpers | ||
| Models | ||
| Services | ||
| ViewModels | ||
| Views | ||
| assets | ||
| scripts | ||
| .gitignore | ||
| App.xaml | ||
| App.xaml.cs | ||
| CONFIG_FIX_SUMMARY.md | ||
| MEAL_SCHEDULE_VIEW_ONLY_CHANGES.md | ||
| MainWindow.xaml | ||
| MainWindow.xaml.cs | ||
| UtopiaCanteenSystem.csproj | ||
| UtopiaCanteenSystem.sln | ||
| appsettings.example.json | ||
| temp.txt | ||