Please create a checklist for this task? Description: The Hotels may change the number…
- User
Please create a checklist for this task?
Description:
The Hotels may change the number of rooms during renovation. To foresee this case we need to add the ability for Super Admin users to add expiration dates for PMS room type codes.
General information:
The same PMS room type codes now should have the ability to contain different numbers of rooms for different sets of dates.
There are several parts that have to be updated in this task:
- Database updates (described in another card)
- Back-end changes (described in another card)
- Front-end changes (described in this card)
Front-end changes:
- The Add PMS room UX has to be reworked so the Super Admin users may set up validity periods for PMS room type codes.
- Need to add new fields that will be available for the Super Admin users:
start_dateandend_date - The mentioned fields should be added to the table, pop-up on the PMS Room Types page
- The records on the PMS Room Types page have to be grouped by the code and date ranges
- UI elements usage will be described below in the table. Please note that only new page elements will be described.
Main UI validation notes to follow:
- Data input intersections are not acceptable. The System always has to use only one PMS code on a Booking Date.
- Data gaps are possible. The Parent Code values will be used in cases when there’s no Sub Code.
- Sub Codes can’t be set up outside of the Parent Code validation dates.
Exceptions with use cases:
-
Please note that empty date inputs are applicable. Empty date inputs stand for “no start date limitation” or “no end date limitation”.
- Use case
Code Ahas the following settings:- start_date = null, end_date = “2023-05-01”, number_of_rooms = 10;
- start_date = “2023-05-02”, end_date = null, number_of_rooms = 20;
- This means that
Code Ahas 10 rooms capacity till “2023-05-01”, starting from “2023-05-02” its capacity is increased to 20 rooms.
- Use case
-
Please note that
start_dateandend_dateintersections are not acceptable, always > of the previous date range. In this case, the Super Admin users can’t save a new code entity
- Assistant
Checklist for Front-end changes:
- Rework the Add PMS room UX to include validity periods for PMS room type codes.
- Add new fields
start_dateandend_datefor Super Admin users to set up validity periods. - Add the mentioned fields to the table and pop-up on the PMS Room Types page.
- Group the records on the PMS Room Types page by code and date ranges.
- Ensure that data input intersections are not allowed, only one PMS code should be used on a booking date.
- Handle data gaps by using the parent code values when there is no sub code.
- Validate that sub codes cannot be set up outside of the parent code validation dates.