Tour Manager: [Create Tour] - Step 2 - Add Guests
Opened this issue · 0 comments
lilitghukasyan commented
As a user, I want to be able to add the guests that are going to join the tour at the second step of the tour creation.
Acceptance Criteria
- At the second step/tab of the tour creation process user should be able to add all the guests that are going to join the tour
- At the top of the popup there should be a search field, where the user can search through the following fields:
- First Name
- Last Name
- Email Address
- Passport Number
- When searching by any of the above mentioned fields, the system should show the list of matching guests, that have been added from Guests page
- In the displayed search results the first name/last name/email/passport number should be displayed for the user to be able to select the correct guest, in case of matching first name/last name
- Below the search popup there should be a message saying: Please make sure to search for the guests in the system before adding a new one.
- Below the search field, the following fields should be available for the users to add the guests, if they do not already exist in the system:
- First Name - input field - Required
- Last Name - input field - Required
- Phone Number - input field - validate the phone number format?
- Email address - input field - Required - validate the email address format
- Date of Birth - calendar input - Required
- Place of Birth - input field
- Passport Number - Input field - Required
- Issued by - Input field
- Issue Date - input field
- Expire Date - input field
- Notes - text field
- Under the fields there should be a table where the added guests should be added
- The table should have the following columns:
- Name
- Phone
- Date of Birth
- Place of Birth
- Passport Number
- Issued by
- Issue Date
- Expire Date
- Notes
- At the end of each row there should be Remove link
- When clicking on Remove link, the added guest should be removed
- There should be a Main Contact checkbox next to the fields where the guest is being added
- If the Main Contact checkbox is checked, the guest should be shown in bold
- There should Back: Tour Details button and when clicking on it, user should be navigated back to the Tour Details screen
- There should be Next: Add Hotels button and when clicking on it user should be navigated to the next step of adding a tour - where they can add the hotels
- Table rows should be inline editable?
Mockup Link: https://share.balsamiq.com/c/5S8wk7VM5Ve4SZATeSpFfj.png