No description
Replace static system_config.total_rooms (80, includes overflow) with per-day available_rooms from daily_occupancy table. This ensures occupancy % is calculated against the correct base (non-overflow rooms) consistent with how the rest of the app reports occupancy. Falls back to system_config.total_rooms when daily_occupancy has no data for a date. Also adds available_rooms per-day to the response payload. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| backend | ||
| db | ||
| frontend | ||
| .gitignore | ||
| docker-compose.yml | ||
| seed-app.js | ||