Add occupancy analytics, housekeeping maintenance notes, and booking widget form flow

- DynamicPricingPage: add 'Нагрузка' tab with monthly occupancy bar chart (2025/2026 data), year selector, summary stats, and editable occupancy-based pricing rules (threshold ranges → price modifiers)
- HousekeepingPage: add maintenance note button (wrench icon) on task cards — housekeeper can report broken items with a description that gets sent to technical service; notes displayed in orange badge
- BookingWidgetPage: fix 'Забронировать' button with full form flow (browse → form → success), add configurable form fields (required/optional/custom), add additional services toggle in settings and at checkout, add extra beds + children count in guest selector with auto-pricing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 15:51:31 +03:00
parent 87455c2710
commit f62ccdd3f7
4 changed files with 817 additions and 71 deletions

View File

@@ -174,6 +174,7 @@ export interface HousekeepingTask {
priority: 'low' | 'normal' | 'high'
status: 'pending' | 'in_progress' | 'done'
notes?: string
maintenanceNote?: string
dueDate: string
completedAt?: string
type: 'cleaning' | 'inspection' | 'maintenance'