Open zoeyli-46 opened 3 months ago
@nanyangpro this ticket's AC is ready for your review
@BCerki edited this ticket to include the conditional fields, does it make sense or does it require more details?
@BCerki edited this ticket to include the conditional fields, does it make sense or does it require more details?
Yup, looks great, thank you!
Description:
As an External User, given that I have registered in BCIERS, I can view and update my existing operator information, and fill in any new operator information fields asked in registration part 2 Figma link
Acceptance Criteria:
Given I am an authenticated user with the
industry-user
orindustry-user-admin
role, When I click on the My operator tile, Then I am brought to my operator page Operator pageGiven that I am on my operator page, When I click edit Then it turns into editing mode Figma link
Given that I am on the Operator Information form, When I select General Partnership or Limited Liability Partnership Then the fields for a Partner appear
Given that I am on the Operator Information form, When I select “yes” to “Does the operator have one or more parent companies?” Then the fields for a parent company appear
Given that I am on the Operator Information form, When I select “yes” to “Is the parent company registered in Canada?” Then I see the field “Parent Company CRA Business Number:”
Given that I am on the Operator Information form, When I select “no” to “Is the parent company registered in Canada?” Then I see the field “Parent Company Tax ID Number:”
Edit-mode of operator information https://www.figma.com/design/LsDmLDCdnJqI8UahyqvOD8/BCIERS-Designs?node-id=8638-2726&t=oDdZLbbRzQ0FvNal-4
Development Checklist:
Updates to
Parent Operator
data model:cra_business_number
field nullabletax_id_number
(nullable, varchar)Create new data model
Partner Company
with fields:partner_legal_name
(varchar, required)partner_trade_name
(varchar, nullable)partner_business_structure
(FK to Business Structures table, required)partner_cra_business_number
(required)partner_bc_corporate_registry_number
(required)Some other changes to data models will be required later, but because they impact existing prod data, I suggest leaving them as-is for now until we confirm with the biz area when they'd like the changes to take effect in prod.
Posibly updates dashboard tiles:
bc_obps/common/fixtures/dashboard/administration/external.json\My Operator
ensure tile href is correctbc_obps/common/fixtures/dashboard/bciers/external.json\My Operator
ensure tile href is correctDefinition of Ready (Note: If any of these points are not applicable, mark N/A)
·Definition of Done (Note: If any of these points are not applicable, mark N/A)
Notes:
Dependencies