TorbatYar/docs/hospitality-crud-report.md
2026-07-28 20:39:10 +03:30

34 lines
1.4 KiB
Markdown

# Hospitality CRUD Report (Frontend Production)
> Supersedes FE notes in `frontend/docs/hospitality-crud-report.md` for certification status.
## Matrix
All resources in `hospitalityResources` call `hospitalityApi` → BFF `/api/hospitality``:8009`.
| Domain | List | Create | Update | Delete | Lifecycle |
| --- | --- | --- | --- | --- | --- |
| Venues / branches / dining / tables | ✅ | ✅ | ✅ where API | ✅ where API | — |
| Menu catalog | ✅ | ✅ | limited | limited | — |
| QR / carts | ✅ | ✅ | — | — | submit session |
| Reservations / waitlist | ✅ | ✅ | — | — | status |
| POS tickets / payments / discounts | ✅ | ✅ | — | — | void |
| Kitchen tickets / items | ✅ | ✅ | — | — | status |
| Connectors / dispatches | ✅ | ✅ | — | — | — |
| Analytics reports / snapshots | ✅ | ✅ | — | — | refresh |
| Settings / toggles | ✅ | upsert | — | — | — |
| Roles / permissions / events | ✅ | ✅ | — | — | — |
| Bundles | ✅ | — | — | — | activate/deactivate |
## Quality
- No mock lists
- No fake KPIs on dashboards
- Read-only views labeled via `readOnly` + empty hints
- Search / pagination / sorting / CSV export on list factory
- Permissions: API 403 → page error; bundle gate before render
## Known API limits (honest)
Update/PATCH absent for many 12.1+ entities — FE does not fake edit.