Commit Graph

4 Commits

Author SHA1 Message Date
Ho Ngoc Hai
75bcff209b refactor(pos): replace hardcoded shop IDs with dynamic ShopId route parameter across all POS files 2026-02-28 11:22:46 +07:00
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
Ho Ngoc Hai
38bfe14e73 refactor: relocate system admin pages and apply minor UI adjustments across various application pages. 2026-02-12 16:25:52 +07:00
Ho Ngoc Hai
bb64486c18 feat: Add initial set of admin and POS UI pages for TPOS application, including various workflows and an update to admin styling. 2026-02-12 15:25:09 +07:00