Closed Pun-slinger closed 1 year ago
After a customer picks the dates for his/her reservation, only the rooms that are available will be shown. Make sure to make enough bookings in your database, so that the "filtering" will look realistically.
As it is, it blocks a room regardless of dates. It should should only block a room if the client is trying to pick a date for which the room is already booked. You can solve this by having the user first picking a date, and then filtering the rooms accordingly. Or, not bocking rooms, but blocking dates (for specific rooms) instead. As it is, a 7/10 for implementation. If fixed by Sprint Planning 4, full marks.
Not fixed.
Description
When viewing rooms, a sign will be shown along the room indicating if the room is booked or not. Also, while making reservations, only available rooms are shown.
Acceptance Criteria
The reservation form should only list available rooms and the view rooms page should show booked and available rooms separately.
Testing Criteria
After making the reservation, the view rooms page should be updated and the available rooms shown on the reservations form should be updated.