HotelSync
b48e50e62b
Rental: connect to API, improve cell UI; remove price from room labels
Backend:
- Migration 015_rental.sql: rental_objects + rental_bookings tables, seed demo data
- New routes: GET/POST/PATCH/DELETE rental-objects and rental-bookings per hotel
- Register rentalRoutes in app.ts
Frontend:
- api.ts: add rental.listObjects, listBookings, createBooking, updateBooking, deleteBooking
- CalendarPage: fetch rental objects + bookings from API instead of mock data
- BookingCalendar: rental cell UI redesigned — colored squares + working hours + time slots (matches design spec)
- BookingCalendar: remove base rate price from desktop room label column (irrelevant with dynamic pricing)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 15:46:01 +03:00
..
2026-03-20 17:19:27 +03:00
2026-03-21 15:46:01 +03:00
2026-03-21 15:46:01 +03:00
2026-03-11 15:20:05 +03:00
2026-03-11 15:20:05 +03:00
2026-03-17 20:01:25 +03:00
2026-03-11 15:20:05 +03:00
2026-03-11 15:20:05 +03:00
2026-03-11 15:20:05 +03:00
2026-03-11 15:20:05 +03:00
2026-03-11 15:20:05 +03:00