diff --git a/src/components/ContinuationIn/UnlimitedLiabilityCorporationInformation.vue b/src/components/ContinuationIn/UnlimitedLiabilityCorporationInformation.vue
index 38cff614..f3bc7fe3 100644
--- a/src/components/ContinuationIn/UnlimitedLiabilityCorporationInformation.vue
+++ b/src/components/ContinuationIn/UnlimitedLiabilityCorporationInformation.vue
@@ -4,25 +4,88 @@
- Upload File
+ Upload File
-
+ You are required to provide either a Director's Affidavit or a
+ Court Order . This will be reviewed by BC Registries.
+
+
+
+ Use a white background and a legible font with contrasting font colour
+ PDF file type (maximum 30 MB file size)
+
+
+
+ mdi-plus
+ Add a Document
+
+
+
+ {{ customErrorMessage }}
+
+
+
+
+
+
mdi-paperclip
+
+ {{ business.affidavitFile.name }}
+ ({{ friendlyFileSize(business.affidavitFile) }})
+
+
+ Remove
+
+ mdi-close
+
+
+
+
+
+ Uploaded files will be renamed automatically.
+
@@ -32,29 +95,36 @@
@@ -109,44 +228,31 @@ export default class UnlimitedLiabilityCorporationInformation extends Mixins(Dat
diff --git a/src/components/ContinuationIn/UploadAffidavit.vue b/src/components/ContinuationIn/UploadAffidavit.vue
deleted file mode 100644
index 4424f473..00000000
--- a/src/components/ContinuationIn/UploadAffidavit.vue
+++ /dev/null
@@ -1,218 +0,0 @@
-
-
-
-
- You are required to provide either a Director's Affidavit or a
- Court Order . This will be reviewed by BC Registries.
-
-
-
- Use a white background and a legible font with contrasting font colour
- PDF file type (maximum 30 MB file size)
-
-
-
- mdi-plus
- Add a Document
-
-
-
- {{ customErrorMessage }}
-
-
-
-
-
-
mdi-paperclip
-
- {{ business.affidavitFile.name }}
- ({{ friendlyFileSize(business.affidavitFile) }})
-
-
- Remove
-
- mdi-close
-
-
-
-
-
- All uploaded files will be renamed automatically.
-
-
-
-
-
-
-
diff --git a/src/store/store.ts b/src/store/store.ts
index ab63c0ba..56133f10 100644
--- a/src/store/store.ts
+++ b/src/store/store.ts
@@ -16,10 +16,7 @@ import {
RelationshipTypes,
RestorationTypes
} from '@/enums'
-import {
- CorrectNameOptions,
- JurisdictionLocation
-} from '@bcrs-shared-components/enums/'
+import { CorrectNameOptions } from '@bcrs-shared-components/enums/'
import { CorpTypeCd } from '@bcrs-shared-components/corp-type-module'
import {
AccountInformationIF,
@@ -239,19 +236,6 @@ export const useStore = defineStore('store', {
return this.getContinuationIn.existingBusinessInfo
},
- /**
- * Whether a Continuation In Director's Affidavit is required.
- * Is true if the business is a Continued In ULC from Alberta.
- */
- isContinuationInAffidavitRequired (): boolean {
- const previousJurisdiction = this.getExistingBusinessInfo?.previousJurisdiction
- return (
- this.isEntityUlcContinueIn &&
- (previousJurisdiction?.country === JurisdictionLocation.CA) &&
- (previousJurisdiction?.region === 'AB')
- )
- },
-
/** The account folio number. */
getFolioNumber (): string {
return this.stateModel.tombstone.folioNumber
diff --git a/src/views/ContinuationIn/ContinuationInAuthorization.vue b/src/views/ContinuationIn/ContinuationInAuthorization.vue
index ce30b697..f527af4b 100644
--- a/src/views/ContinuationIn/ContinuationInAuthorization.vue
+++ b/src/views/ContinuationIn/ContinuationInAuthorization.vue
@@ -1,4 +1,5 @@
+
+
@@ -141,8 +145,10 @@ import { Component, Mixins, Watch } from 'vue-property-decorator'
import { Getter, Action } from 'pinia-class'
import { useStore } from '@/store/store'
import { CommonMixin, NameRequestMixin } from '@/mixins'
+import { ExistingBusinessInfoIF } from '@/interfaces'
import { ContactPointIF } from '@bcrs-shared-components/interfaces'
import { ExpandableHelp } from '@bcrs-shared-components/expandable-help'
+import { JurisdictionLocation } from '@bcrs-shared-components/enums/'
import AuthorizationProof from '@/components/ContinuationIn/AuthorizationProof.vue'
import BusinessContactInfo from '@/components/common/BusinessContactInfo.vue'
import ExtraproRegistration from '@/components/ContinuationIn/ExtraproRegistration.vue'
@@ -168,11 +174,12 @@ import UnlimitedLiabilityCorporationHelp from '@/components/ContinuationIn/Unlim
})
export default class ContinuationInAuthorization extends Mixins(CommonMixin, NameRequestMixin) {
@Getter(useStore) getBusinessContact!: ContactPointIF
+ @Getter(useStore) getExistingBusinessInfo!: ExistingBusinessInfoIF
@Getter(useStore) getNameRequestNumber!: string
@Getter(useStore) getNameTranslationsValid!: boolean
@Getter(useStore) getShowErrors!: boolean
@Getter(useStore) getValidateSteps!: boolean
- @Getter(useStore) isContinuationInAffidavitRequired!: boolean
+ @Getter(useStore) isEntityUlcContinueIn!: boolean
@Getter(useStore) isFilingValid!: boolean
@Action(useStore) setBusinessContact!: (x: ContactPointIF) => void
@@ -188,7 +195,7 @@ export default class ContinuationInAuthorization extends Mixins(CommonMixin, Nam
extraproRegistrationValid = false
businessContactInfoValid = false
authorizationProofValid = false
- affidavitValid = false
+ ulcInformationValid = false
/** Array of valid components. Must match validFlags below. */
readonly validComponents = [
@@ -206,10 +213,23 @@ export default class ContinuationInAuthorization extends Mixins(CommonMixin, Nam
existingBusinessInformationValid: this.existingBusinessInformationValid,
contactInformationValid: this.businessContactInfoValid,
authorizationProofValid: this.authorizationProofValid,
- ulcInformationValid: this.affidavitValid
+ ulcInformationValid: this.ulcInformationValid
}
}
+ /**
+ * Whether a Continuation In Director's Affidavit or Court Order is required.
+ * Is true if the business is a Continued In ULC from Alberta.
+ */
+ get isContinuationInAffidavitRequired (): boolean {
+ const previousJurisdiction = this.getExistingBusinessInfo?.previousJurisdiction
+ return (
+ this.isEntityUlcContinueIn &&
+ (previousJurisdiction?.country === JurisdictionLocation.CA) &&
+ (previousJurisdiction?.region === 'AB')
+ )
+ }
+
/** Whether the Existing Business Information section is valid. */
get existingBusinessInformationValid (): boolean {
return (this.extraproRegistrationValid || this.manualBusinessInfoValid)
@@ -231,14 +251,14 @@ export default class ContinuationInAuthorization extends Mixins(CommonMixin, Nam
@Watch('existingBusinessInformationValid', { immediate: true })
@Watch('businessContactInfoValid', { immediate: true })
@Watch('authorizationProofValid', { immediate: true })
- @Watch('affidavitValid', { immediate: true })
+ @Watch('ulcInformationValid', { immediate: true })
private onComponentValidityChanged () {
this.setContinuationAuthorizationPageValid(
this.getNameTranslationsValid &&
this.existingBusinessInformationValid &&
this.businessContactInfoValid &&
this.authorizationProofValid &&
- (!this.isContinuationInAffidavitRequired || this.affidavitValid)
+ (!this.isContinuationInAffidavitRequired || this.ulcInformationValid)
)
}