BookingModal: replace guestName with FIO+phone fields, remove passport tab
- Add lastName/firstName/middleName/phone fields to booking form - Remove 'Документы гостя' tab entirely from BookingModal - Auto-parse existing guestName into FIO parts when editing - Add guestPhone to Booking type and propagate through CalendarPage/BookingsPage API calls - Add middle_name to guests table (migration 011) - Update guests backend route to include middle_name in all queries - Add middleName to GuestApiType in api.ts - Fix selectAcGuest in BookingDetailPanel to also fill middle_name - Auto-open guest form pre-filled with booking FIO when no guests exist - Add passport series+number lookup in BookingDetailPanel guest form Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -147,6 +147,7 @@ export interface Booking {
|
||||
guestId: string
|
||||
guestName: string
|
||||
guestEmail: string
|
||||
guestPhone?: string
|
||||
checkIn: string // ISO date YYYY-MM-DD
|
||||
checkOut: string // ISO date YYYY-MM-DD
|
||||
status: BookingStatus
|
||||
|
||||
Reference in New Issue
Block a user