The table is newbook_occupancy_report_data (per-category rows). Aggregate SUM(available - maintenance) WHERE category_id != '5' to get the correct available room count excluding overflow and maintenance. 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 | ||