forecasting/backend
jtricerolph e04ae18711 Fix /public/forecast/rooms to use available_rooms excluding overflow
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>
2026-07-20 10:51:51 +00:00
..
api Fix /public/forecast/rooms to use available_rooms excluding overflow 2026-07-20 10:51:51 +00:00
jobs Add weather sync job, API endpoints and settings UI 2026-07-13 21:10:03 +00:00
services Move Resos API key to central Settings service; add sidebar scrollbar styling 2026-07-13 14:35:35 +00:00
utils Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
auth.py fix: restore app-local API key functions in auth.py 2026-07-04 19:11:00 +00:00
database.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
Dockerfile Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
main.py Remove bookability and competitor rates — moved to Rate Monitor app 2026-07-05 12:14:26 +00:00
requirements.txt Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
scheduler.py Remove old Resos sync path (resos_bookings table) 2026-07-13 21:07:47 +00:00
schema.sql Remove old Resos sync path (resos_bookings table) 2026-07-13 21:07:47 +00:00