Files
pos-system/apps
Cursor Agent 4dd7eb1b2c refactor(tpos): replace mock data with PosDataService in 25 Cafe/Karaoke Razor files
- Cafe DB files (3): CafeTablet, CafeMobile, MenuManagement
  - Inject PosDataService, load products/categories via GetProductsAsync/GetCategoriesAsync
  - Add loading/error UI states, replace hardcoded product lists

- Karaoke DB files (8): KaraokeDesktop, KaraokeTablet, KaraokeMobile, OrderFnb,
  RoomMap, RoomSelect, RoomSession, ServiceDisplay
  - Inject PosDataService, load rooms via GetTablesAsync, products via GetProductsAsync
  - Map TableNumber→room name, Zone→floor, Capacity→people, Status→room status
  - Add loading/error UI states

- Static comment files (14): BaristaQueue, CafeJourney, CustomerDisplay, DailyReport,
  LoyaltyStamp, MilkFoamOptions, OrderCustomize, QueueDisplay, HappyHour,
  KaraokeJourney, MemberCard, PeakWarning, RoomExtend, RoomReset
  - Added bilingual static UI configuration comment at top of @code block

All changes follow the CafeDesktop.razor refactoring pattern.
Build passes with 0 errors.

Co-authored-by: Velik <hongochai10@users.noreply.github.com>
2026-02-26 20:50:12 +00:00
..