Multiple bookings per room (early-checkout Departed + new Arrived, or NewBook double-bookings) caused COUNT(*) to exceed total room capacity. Switch to COUNT(DISTINCT COALESCE(room_number, newbook_id)) so each physical room counts once regardless of how many booking rows span it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| forecasting | ||
| scraper_backends | ||
| __init__.py | ||
| backup_service.py | ||
| booking_scraper.py | ||
| central_settings.py | ||
| newbook_client.py | ||
| newbook_rates_client.py | ||
| reconciliation_service.py | ||
| resos_client.py | ||