Files
pos-system/apps
Cursor Agent 0576c9509c refactor(tpos): replace hardcoded POS data with BFF API calls
- CafeDesktop: load products & categories from DataService.GetProductsAsync
  and GetCategoriesAsync with cafe shop ID
- RestaurantDesktop: load tables from DataService.GetTablesAsync with
  restaurant shop ID, map zones from API data
- KaraokeDesktop: keep mock data, add TODO comment for future FnB engine
  rooms endpoint integration
- SpaDesktop: load spa services from DataService.GetProductsAsync with
  spa shop ID, map duration from product attributes
- All refactored pages show loading state and error handling

Co-authored-by: Velik <hongochai10@users.noreply.github.com>
2026-02-26 22:51:57 +00:00
..