Create reservation updated profile logic
We are again enhancing this logic to ensure it evolves with the application.
While creating a reservation:
· At least one of the following must always be present:
o Booker
o Company
o Agent
o Guest remains optional based on existing configuration.
· If only a Guest is updated in the reservation process, the system will automatically use the Guest profile as the Booker profile.
· The Create Reservation button will always be available.
· Before confirming, the system will validate:
o That at least one of Booker, Company, or Agent is updated.
o That a Guest profile is updated (if required by configuration).
· If validation fails, the following messages will appear:
· Please assign a booker, company, or agent.
· Please assign a guest profile (if required by configuration).
· If all checks pass, the reservation is created successfully.