UI Design | Corrections | Property Host / Registrant information
- Dominant language
- Python
- Stars
- 2
- Forks
- 22
- Avg merge
- 2d 35m
- Merged PRs (30d)
- 11
Description
Use Case
In accordance with regulations, registrants have 14 days to report any changes to their registration. The required updates in the legislation must be completed by the examiners as they may have implications to the pertinent details of the registration. We need the examiners to be able to make changes to a host's entered information as required.
As an Examiner
I want to be able to edit the host information on a **REGISTRATION**.
Fields which should be editable to me are:
- Host Name
- preferred Name
- Host Address (similar to current edit of Rental Address)
- Unit NUmber
- Street Number
- Street
- Site Name (optional)
- City
- Province
- Postal Code
- Location Description (optional)
- Host email address
- Host date of birth
- Tax number
- Phone Number
I want to be able to edit, add and remove all individuals and businesses associated to a registration, which are listed:

Business

For each individual/business listed, I need to be able to:
- remove the individual/business from the registration
- add a new individual/business to a registration
- edit current individuals/businesses on a registration.
To edit an individual, I need to be able to edit these fields:
- Name
- Preferred Name
- CRA Tax Number
- Address (similar to current edit of Rental Address)
- Phone number
- Email
- Role (can either be host, co-host or property manager)
To edit a business, I need to be able to edit these fields:
- Company Name
- CRA Business Tax Number
- Address (similar to current edit of Rental Address)
- Contact Individual's name
- Preferred Name
- Phone Number
- Email Address
- Role (can either be host, co-host or property manager)
As an examiner, when I
chose to edit any of the above information on a registration;
- the fields are pre-populated as they currently exist, but are available for editing.
AS an examiner, when I
save any information changed for the host / individual / business changed,
an Event is added to the change history log showing that host information was update by - idir.
## Acceptance Criteria
> Generated by [Zenhub AI](https://www.zenhub.com/ai)
### Acceptance Criteria
#### Scenario 1: Editing Primary Host Information
- **Given** I am logged in as an **Examiner**
- **And** I am viewing a specific **Registration**
- **When** I initiate the edit action for the Primary Host information
- **Then** I should see a form pre-populated with the current host data
- **And** I should be able to update the following fields:
- Host Name
- Preferred Name
- Host Address (Unit Number, Street Number, Street, Site Name, City, Province, Postal Code, Location Description)
- Host Email Address
- Host Date of Birth
- Tax Number
- Phone Number
- **And** I should be able to save these changes to the registration
#### Scenario 2: Managing Associated Individuals
- **Given** I am logged in as an **Examiner**
- **And** I am viewing the list of individuals associated with a registration
- **When** I choose to **add**, **edit**, or **remove** an individual
- **Then** I should be able to perform the following actions:
- **Remove:** Delete an existing individual from the registration
- **Add:** Create a new individual entry with all required fields
- **Edit:** Modify an existing individual's details (pre-populated with current data)
- **And** the editable/required fields for an individual must include:
- Name
- Preferred Name
- CRA Tax Number
- Address (Unit Number, Street Number, Street, Site Name, City, Province, Postal Code, Location Description)
- Phone Number
- Email
- Role (Dropdown selection: Host, Co-host, or Property Manager)
#### Scenario 3: Managing Associated Businesses
- **Given** I am logged in as an **Examiner**
- **And** I am viewing the list of businesses associated with a registration
- **When** I choose to **add**, **edit**, or **remove** a business
- **Then** I should be able to perform the following actions:
- **Remove:** Delete an existing business from the registration
- **Add:** Create a new business entry with all required fields
- **Edit:** Modify an existing business's details (pre-populated with current data)
- **And** the editable/required fields for a business must include:
- Company Name
- CRA Business Tax Number
- Address (Unit Number, Street Number, Street, Site Name, City, Province, Postal Code, Location Description)
- Contact Individual's Name
- Preferred Name
- Phone Number
- Email Address
- Role (Dropdown selection: Host, Co-host, or Property Manager)
#### Scenario 4: Data Validation and Persistence
- **Given** an Examiner is editing host, individual, or business information
- **When** the Examiner attempts to save the changes
- **Then** the system should validate that all mandatory fields are completed
- **And** the updated information should be immediately reflected on the Registration record
- **And** an audit log or history entry should be created to track the change made by the Examiner
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.