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-12 12:09:53 +03:00
2026-03-17 13:33:27 +03:00
2026-03-18 18:18:41 +03:00
2026-03-12 12:09:53 +03:00
2026-03-17 13:49:30 +03:00
2026-03-17 14:21:45 +03:00
2026-03-17 17:35:16 +03:00
2026-03-17 18:43:05 +03:00
2026-03-18 18:57:10 +03:00
2026-03-19 12:55:39 +03:00
2026-03-19 14:03:04 +03:00
2026-03-19 20:53:07 +03:00
2026-03-19 21:15:37 +03:00
2026-03-20 17:19:27 +03:00
2026-03-20 17:28:52 +03:00
2026-03-20 17:47:12 +03:00
2026-03-21 15:46:01 +03:00