booking details: add ability to see details of guest

This commit is contained in:
androidlover5842
2026-01-29 22:03:06 +05:30
parent 9d3ade3d03
commit be820391bc
13 changed files with 514 additions and 1 deletions

View File

@@ -63,6 +63,23 @@ Notes:
---
### Booking details
GET /properties/{propertyId}/bookings/{bookingId}
Includes:
- Guest info (name/phone/nationality/address/signatureUrl)
- Room numbers (active stays if present; otherwise all stays)
- Travel fields (fromCity/toCity/memberRelation)
- Transport mode, expected/actual times
- Counts (male/female/child/total/expected)
- Registered by (createdBy name/phone)
- totalNightlyRate (sum of nightlyRate across shown rooms)
- balance: expectedPay, amountCollected, pending
---
### Check-in (creates RoomStay)
POST /properties/{propertyId}/bookings/{bookingId}/check-in