CAPSTONE-2022-2023 / Group_24

group-24.vercel.app
0 stars 0 forks source link

As a client, I want to know if a room is fully booked, so that I can avoid booking it and select vacant rooms #17

Closed Pun-slinger closed 1 year ago

Pun-slinger commented 1 year ago

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.

marceljar commented 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.

marceljar commented 1 year ago

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.

marceljar commented 1 year ago

Not fixed.