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-17 14:21:45 +03:00
2026-03-10 20:38:32 +03:00
2026-03-17 00:27:43 +03:00
2026-03-19 21:15:37 +03:00
2026-03-16 16:13:35 +03:00
2026-03-21 15:46:01 +03:00
2026-03-17 14:21:45 +03:00
2026-03-16 20:58:03 +03:00
2026-03-17 00:47:24 +03:00
2026-03-11 22:17:54 +03:00
2026-03-17 00:27:43 +03:00
2026-03-17 14:21:45 +03:00
2026-03-16 19:43:20 +03:00
2026-03-16 20:13:22 +03:00
2026-03-19 14:03:04 +03:00
2026-03-17 13:49:30 +03:00
2026-03-20 17:01:55 +03:00
2026-03-17 00:27:43 +03:00
2026-03-17 00:27:43 +03:00
2026-03-11 19:16:55 +03:00
2026-03-18 18:18:41 +03:00
2026-03-17 00:47:24 +03:00
2026-03-16 20:13:22 +03:00
2026-03-17 00:27:43 +03:00
2026-03-17 19:35:54 +03:00
2026-03-17 00:47:24 +03:00
2026-03-17 00:47:24 +03:00
2026-03-16 20:29:14 +03:00
2026-03-17 18:02:08 +03:00
2026-03-21 00:22:03 +03:00
2026-03-17 00:47:24 +03:00
2026-03-19 12:55:39 +03:00
2026-03-17 14:21:45 +03:00
2026-03-11 14:43:18 +03:00