bcgov / bcgov/entity

Strata Hotel has property manager

Open
#23,474 0 comments 0 reactions 0 assignees View on GitHub
STR CHEFs
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

# 📖 User Story

**As** a Strata Hotel operator,
**I want** to indicate if I am using a property manager on Step 1 and be required to fill out the property manager’s contact details if selected,
**So that** we can have the necessary information to manage the property and communicate effectively with the property manager.

### Context / Background

- If the Strata Hotel uses a property manager, they should provide contact information such as the business name, the property manager’s name, phone number, and email address.

### UX/UI Links

[Insert Miro Link or UI Mockup Here]

### 📏 Business Rules

- [ ] Strata Hotel operators must indicate whether they have a property manager or not (it could be a checkbox or a Yes/No question). It's a required field.
- [ ] If the operator does not have a property manager, they do not need to provide any additional information.
- [ ] If the operator has a property manager, they must be informed that "if they add a Property Manager, that person will also be authorized to manage the registration, including changing information."
- [ ] If the operator has a property manager, they must provide the following information where fields are mandatory:
- First Name (required)
- Middle Name (optional)
- Last Name (required)
- Preferred Name (optional)
- Phone Number (required)
- Extension (optional)
- Fax Number (optional)
- Email Address (required)
- Mailing Address (required)
- Property Management Company Information including Business Name (required) and Mailing Address (optional) if it's different from the mailing address
- [ ] Step 4 Review page will have information about whether the operator has a property manager and the associated contact details.
- [ ] On the operator's application details page, they will see whether they have a property manager and the associated contact details.
- [ ] On the Examiner's application details page, examiners will see whether the operator has a property manager and the associated contact details.
- [ ] On both operator and examiner application details pages, users can differentiate the contact information for whom (operator, property manager, and secondary contact).
- [ ] Field Validation is in place ([Field Validation](https://bcgov.sharepoint.com/:x:/r/teams/09399/Shared%20Documents/Product-Scrum%20Team%20Chat/Field%20validation%20and%20Status%20Table.xlsx?d=wd73427566b6148b48776b7c8682de8e9&csf=1&web=1&e=GkyubU)).
- [ ] Error Handling: If any required fields are missing or incorrectly formatted, there will be an X on the Property Details Stepper.

### Story Scenarios

#### Scenario 1: Strata Hotel operator does not use a property manager

- **Given** the operator does not indicate they are using a property manager,
- **When** they proceed with the form,
- **Then** they are not prompted to fill out any additional property manager fields, and the form is submitted successfully.

#### Scenario 2: Strata Hotel operator uses a property manager and fills out the required fields

- **Given** the operator is on Step 1 Contact Details page,
- **When** they indicate they are using a property manager,
- **Then** the form reveals fields for property manager contact information and property management company information with some mandatory fields.
- **And Then** operators can see all the information on the Review page and their application details page.
- **And Then** examiners can see operator information about their property manager on the application details page.

#### Scenario 3: Strata Hotel operator attempts to proceed without filling out the required property manager details

- **Given** the operator has indicated they are using a property manager,
- **When** they click next or move to another step without filling in one or more of the required fields,
- **Then** a red X is displayed on the stepper and an error message is displayed, and they are prompted to complete the missing or incorrectly formatted fields.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.