From 23c8362555dc1b31c546411f0879ddec95ce762f Mon Sep 17 00:00:00 2001 From: Severin Beauvais Date: Wed, 23 Oct 2024 09:33:49 -0700 Subject: [PATCH] - combined Upload Affidavit component with ULC Info component - more WIP --- ...limitedLiabilityCorporationInformation.vue | 244 +++++++++++++----- .../ContinuationIn/UploadAffidavit.vue | 218 ---------------- src/store/store.ts | 18 +- .../ContinuationInAuthorization.vue | 32 ++- 4 files changed, 202 insertions(+), 310 deletions(-) delete mode 100644 src/components/ContinuationIn/UploadAffidavit.vue 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 @@ - + - + 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 @@ - - - - - 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 @@