forecasting/backend/api
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
..
__init__.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
accuracy.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
ai_insights.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
backtest.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
backup.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
budget.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
config.py Add weather sync job, API endpoints and settings UI 2026-07-13 21:10:03 +00:00
crossref.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
evolution.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
explain.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
export.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
forecast.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
historical.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
public.py Fix /public/forecast/rooms to use available_rooms excluding overflow 2026-07-20 10:51:51 +00:00
reconciliation.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
reports.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
resos.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
resos_sync.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
special_dates.py Forecasting app: hybrid port to HNF stack 2026-07-04 18:49:34 +00:00
sync.py Add weather sync job, API endpoints and settings UI 2026-07-13 21:10:03 +00:00
sync_bookings.py NewBook credentials from central Settings service 2026-07-04 19:36:41 +00:00