Guests who check out early keep their original departure_date in NewBook, so Departed status with departure_date > stay_date were being counted as live OTB — inflating room count above physical capacity. Unconfirmed bookings are also provisional so excluded from live OTB. Prior-year queries retain all statuses since historical bookings will legitimately be in Departed state. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| jobs | ||
| services | ||
| utils | ||
| auth.py | ||
| database.py | ||
| Dockerfile | ||
| main.py | ||
| requirements.txt | ||
| scheduler.py | ||
| schema.sql | ||