From c639e38067e93682e19c8b44e9dfd0c0058bb7c9 Mon Sep 17 00:00:00 2001 From: Severin Beauvais Date: Fri, 4 Oct 2024 16:13:39 -0700 Subject: [PATCH] - app version = 5.12.2 - updated NameRequestInfo to support hiding name request applicant block - created AuthorizationInformation component (NEEDS UNIT TEST) - misc cleanup - added expro confirmation property - WIP WIP WIP --- package-lock.json | 4 +- package.json | 2 +- .../AuthorizationInformation.vue | 325 ++++++++++++++++++ .../SummaryBusinessPreviousJurisdiction.vue | 18 +- .../SummaryExtraprovincialRegistration.vue | 59 ++-- src/components/common/NameRequestInfo.vue | 9 +- .../filing-interfaces/filing-interfaces.ts | 1 + .../existing-business-info-interface.ts | 1 + src/mixins/filing-template-mixin.ts | 12 +- .../ContinuationInBusinessBc.vue | 57 +-- .../ContinuationInReviewConfirm.vue | 11 +- 11 files changed, 441 insertions(+), 58 deletions(-) create mode 100644 src/components/ContinuationIn/AuthorizationInformation.vue diff --git a/package-lock.json b/package-lock.json index b6cc03bf..f393f7fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.12.1", + "version": "5.12.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.12.1", + "version": "5.12.2", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/approval-type": "1.1.2", diff --git a/package.json b/package.json index acfb1a28..1ff08514 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "5.12.1", + "version": "5.12.2", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", diff --git a/src/components/ContinuationIn/AuthorizationInformation.vue b/src/components/ContinuationIn/AuthorizationInformation.vue new file mode 100644 index 00000000..a1109872 --- /dev/null +++ b/src/components/ContinuationIn/AuthorizationInformation.vue @@ -0,0 +1,325 @@ + + + + + diff --git a/src/components/ContinuationIn/SummaryBusinessPreviousJurisdiction.vue b/src/components/ContinuationIn/SummaryBusinessPreviousJurisdiction.vue index a713cdbf..5056d5ce 100644 --- a/src/components/ContinuationIn/SummaryBusinessPreviousJurisdiction.vue +++ b/src/components/ContinuationIn/SummaryBusinessPreviousJurisdiction.vue @@ -8,6 +8,7 @@ @close="errorDialog = false" /> +
@@ -48,7 +49,7 @@ class="pt-4 pt-sm-0" >
- {{ getExistingBusinessInfo?.prevIncorporationNumber || '[Unknown]' }} + {{ getExistingBusinessInfo.prevIncorporationNumber || '[Unknown]' }}
@@ -70,7 +71,7 @@ class="pt-4 pt-sm-0" >
- {{ getExistingBusinessInfo?.prevBusinessName || '[Unknown]' }} + {{ getExistingBusinessInfo.prevBusinessName || '[Unknown]' }}
@@ -92,7 +93,7 @@ class="pt-4 pt-sm-0" >
- {{ getExistingBusinessInfo?.businessNumber || '[Not Entered]' }} + {{ getExistingBusinessInfo.businessNumber || '[Not Entered]' }}
@@ -188,7 +189,12 @@ Missing Authorization File(s)
- +
+ + mdi-check + + Authorization to Continue In has been approved. +
@@ -226,7 +232,7 @@ export default class SummaryBusinessPreviousJurisdiction extends Mixins(DateMixi /** The text version of the previous jurisdiction. */ get previousJurisdiction (): string { - const jurisdiction = this.getExistingBusinessInfo?.previousJurisdiction // may be undefined or null + const jurisdiction = this.getExistingBusinessInfo.previousJurisdiction // may be undefined or null if (jurisdiction?.country === JurisdictionLocation.CA) { if (jurisdiction?.region === 'FEDERAL') return 'Federal' @@ -243,7 +249,7 @@ export default class SummaryBusinessPreviousJurisdiction extends Mixins(DateMixi /** The formatted date of incorporation, continuation, or amalgamation in the previous jurisdiction. */ get prevIncorporationDate (): string { - return this.yyyyMmDdToPacificDate(this.getExistingBusinessInfo?.prevIncorporationDate, true, false) + return this.yyyyMmDdToPacificDate(this.getExistingBusinessInfo.prevIncorporationDate, true, false) } /** Downloads the director affidavit document. */ diff --git a/src/components/ContinuationIn/SummaryExtraprovincialRegistration.vue b/src/components/ContinuationIn/SummaryExtraprovincialRegistration.vue index 7d655c1b..c9c67dbc 100644 --- a/src/components/ContinuationIn/SummaryExtraprovincialRegistration.vue +++ b/src/components/ContinuationIn/SummaryExtraprovincialRegistration.vue @@ -2,10 +2,7 @@
-
+
- {{ getExistingBusinessInfo?.bcRegistrationNumber || '[Unknown]' }} + {{ getExistingBusinessInfo.bcRegistrationNumber || '[Unknown]' }}
-
+
- {{ getExistingBusinessInfo?.bcRegisteredName || '[Unknown]' }} + {{ getExistingBusinessInfo.bcRegisteredName || '[Unknown]' }}
-
+
- + +
+ + + + + + + mdi-check + + + mdi-close + + I understand that the extraprovincial registration of this business in B.C. + will be cancelled and made historical once I submit the continuation application. + + +
@@ -93,14 +115,9 @@ export default class SummaryExtraprovincialRegistration extends Mixins(DateMixin // Getters @Getter(useStore) getExistingBusinessInfo!: ExistingBusinessInfoIF - /** Whether the existing business is an extrapro. */ - get isExpro (): boolean { - return this.getExistingBusinessInfo?.mode === 'EXPRO' - } - /** The formatted date of registration in BC. */ get registrationDateBc (): string { - return this.yyyyMmDdToPacificDate(this.getExistingBusinessInfo?.bcRegistrationDate, true, false) + return this.yyyyMmDdToPacificDate(this.getExistingBusinessInfo.bcRegistrationDate, true, false) } } diff --git a/src/components/common/NameRequestInfo.vue b/src/components/common/NameRequestInfo.vue index 8e987d93..e62121c6 100644 --- a/src/components/common/NameRequestInfo.vue +++ b/src/components/common/NameRequestInfo.vue @@ -45,7 +45,10 @@ -
+