maintenance/frontend
jtricerolph 25d6323aa4 Differentiate arrived vs arriving-today in Rooms Accessible View
A confirmed booking for today that hasn't checked in yet is accessible —
staff can get in before the guest arrives. Previously it was lumped with
in-room guests and greyed out.

Backend: classifyBookingStatus() splits NewBook 'staying' bookings by
status string (normalised). Statuses containing 'arriv', 'inhouse' or
'checkedin' → occupied; everything else → arriving. /api/occupancy now
returns both occupied_site_ids and arriving_site_ids.

Frontend:
- Occupied rooms: greyed out + 'Occupied' badge (guest physically in room)
- Arriving today: normal display + amber 'Arrival today' badge (access now,
  prioritise before guest checks in)
- Chip label shows 'Rooms (X free • Y arriving • Z occupied)' breakdown

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-09 12:29:26 +00:00
..
src Differentiate arrived vs arriving-today in Rooms Accessible View 2026-07-09 12:29:26 +00:00
Dockerfile Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
index.html Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
nginx.conf Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
package-lock.json Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
package.json Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
tsconfig.json Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
vite.config.ts Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00