Skip to content

Commit

Permalink
- changed director's affidavit file to "Alberta Unlimited Liability C…
Browse files Browse the repository at this point in the history
…orporation Information"

- moved section on several pages
- added ULC Info help component
- updated Upload Affidavit component (and added help)
- removed NS ULC scenario
- added Company Name (NR info) to continuation authorization page
  • Loading branch information
Severin Beauvais committed Oct 8, 2024
1 parent 7c253e1 commit 700a2ff
Show file tree
Hide file tree
Showing 12 changed files with 191 additions and 56 deletions.
1 change: 1 addition & 0 deletions src/components/Amalgamation/BusinessTypeHelp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</header>
</section>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import RegistriesContactInfo from '@/components/common/RegistriesContactInfo.vue'
Expand Down
46 changes: 31 additions & 15 deletions src/components/ContinuationIn/AuthorizationInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@
<v-divider class="my-6" />

<!-- Proof of Authorization -->
<v-row
no-gutters
class="mb-n1"
>
<v-row no-gutters>
<v-col
cols="12"
sm="3"
Expand All @@ -112,33 +109,52 @@
sm="9"
class="mt-2 mt-sm-n1"
>
<!-- the director's affidavit file -->
<!-- the proof of authorization file(s) -->
<v-btn
v-if="getExistingBusinessInfo.affidavitFileName"
v-for="item in getContinuationInAuthorizationProof?.files"
:key="item.fileKey"
text
color="primary"
class="download-affidavit-btn d-block px-2 ml-n2"
class="download-authorization-btn d-block px-2 ml-n2"
:disabled="isDownloading"
:loading="isDownloading"
@click="downloadAffidavitDocument()"
@click="downloadAuthorizationDocument(item)"
>
<v-icon>mdi-file-pdf-outline</v-icon>
<span>{{ getExistingBusinessInfo.affidavitFileName }}</span>
<span>{{ item.fileName }}</span>
</v-btn>
</v-col>
</v-row>
<!-- the proof of authorization file(s) -->
<v-divider class="my-6" />
<!-- Alberta Unlimited Liability Corporation Information -->
<v-row no-gutters>
<v-col
cols="12"
sm="3"
class="pr-4"
>
<label>Alberta Unlimited Liability Corporation Information</label>
</v-col>
<v-col
cols="12"
sm="9"
class="mt-2 mt-sm-n1"
>
<!-- the affidavit / court order file -->
<v-btn
v-for="item in getContinuationInAuthorizationProof?.files"
:key="item.fileKey"
v-if="getExistingBusinessInfo.affidavitFileName"
text
color="primary"
class="download-authorization-btn d-block px-2 ml-n2"
class="download-affidavit-btn d-block px-2 ml-n2"
:disabled="isDownloading"
:loading="isDownloading"
@click="downloadAuthorizationDocument(item)"
@click="downloadAffidavitDocument()"
>
<v-icon>mdi-file-pdf-outline</v-icon>
<span>{{ item.fileName }} {{ item.fileName }} {{ item.fileName }}</span>
<span>{{ getExistingBusinessInfo.affidavitFileName }}</span>
</v-btn>
</v-col>
</v-row>
Expand Down
4 changes: 2 additions & 2 deletions src/components/ContinuationIn/AuthorizationProof.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
sm="9"
>
<p :class="{ 'error-text': getShowErrors && !authorizationFilesValid }">
Upload one or more files that show proof of authorization to continue out of your
previous jursidiction.
Upload one or more files that show proof of authorization to continue out of your previous
jursidiction.
</p>

<ul>
Expand Down
11 changes: 6 additions & 5 deletions src/components/ContinuationIn/ExtraproRegistration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
</v-col>
</v-row>

<!-- Upload Affidavit -->
<!-- Alberta Unlimited Liability Corporation Information -->
<v-row
v-if="isContinuationInAffidavitRequired"
class="mt-6"
Expand All @@ -184,16 +184,16 @@
cols="12"
sm="3"
>
<label>Upload Affidavit</label>
<label>Alberta Unlimited Liability Corporation Information</label>
</v-col>

<v-col
cols="12"
sm="9"
>
<UploadAffidavit
class="mb-n2"
:business="business"
@valid="affidavitValid = $event"
/>
</v-col>
</v-row>
Expand Down Expand Up @@ -355,6 +355,7 @@ export default class ExtraproRegistration extends Mixins(DateMixin) {
active = false
business = {} as ExistingBusinessInfoIF
formValid = false
affidavitValid = false
uploadMemorandumDoc = null as File
uploadMemorandumDocKey = null as string
errorDialog = false
Expand Down Expand Up @@ -536,7 +537,7 @@ export default class ExtraproRegistration extends Mixins(DateMixin) {
/** Emits form validity. */
@Watch('isBusinessActive')
@Watch('business', { deep: true })
@Watch('isContinuationInAffidavitRequired')
@Watch('affidavitValid')
@Watch('formValid')
@Watch('getShowErrors')
@Emit('valid')
Expand All @@ -555,7 +556,7 @@ export default class ExtraproRegistration extends Mixins(DateMixin) {
this.isBusinessActive &&
!!this.business.previousJurisdiction &&
!!this.business.prevIncorporationDate &&
(!this.isContinuationInAffidavitRequired || !!this.business.affidavitFileKey) &&
(!this.isContinuationInAffidavitRequired || this.affidavitValid) &&
this.formValid
)
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/ContinuationIn/ManualBusinessInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
</v-col>
</v-row>

<!-- Upload Affidavit -->
<!-- Alberta Unlimited Liability Corporation Information -->
<v-row
v-if="isContinuationInAffidavitRequired"
class="mt-6"
Expand All @@ -150,7 +150,7 @@
cols="12"
sm="3"
>
<label>Upload Affidavit</label>
<label>Alberta Unlimited Liability Corporation Information</label>
</v-col>

<v-col
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@

<v-divider class="mx-6" />

<!-- Proof of Authorization -->
<div id="proof-of-authorization-summary">
<!-- Proof of Authorization -->
<article class="section-container">
<v-row no-gutters>
<v-col
Expand All @@ -140,20 +140,6 @@
sm="9"
class="mt-2 mt-sm-n1"
>
<!-- the director's affidavit file -->
<v-btn
v-if="getExistingBusinessInfo.affidavitFileName"
text
color="primary"
class="download-affidavit-btn d-block px-2 ml-n2"
:disabled="isDownloading"
:loading="isDownloading"
@click="downloadAffidavitDocument()"
>
<v-icon>mdi-file-pdf-outline</v-icon>
<span>{{ getExistingBusinessInfo.affidavitFileName }}</span>
</v-btn>

<!-- the proof of authorization file(s) -->
<v-btn
v-for="item in getContinuationInAuthorizationProof?.files"
Expand All @@ -165,8 +151,10 @@
:loading="isDownloading"
@click="downloadAuthorizationDocument(item)"
>
<v-icon>mdi-file-pdf-outline</v-icon>
<span>{{ item.fileName }} {{ item.fileName }} {{ item.fileName }}</span>
<div class="truncate">
<v-icon>mdi-file-pdf-outline</v-icon>
<span>{{ item.fileName }} {{ item.fileName }} {{ item.fileName }}</span>
</div>
</v-btn>
<!-- Authorization Approved checkmark -->
Expand All @@ -180,6 +168,44 @@
</v-row>
</article>
</div>
<v-divider class="mx-6" />
<!-- Alberta Unlimited Liability Corporation Information -->
<div
v-if="getExistingBusinessInfo.affidavitFileName"
id="ab-ulc-information-summary"
>
<article class="section-container">
<v-row no-gutters>
<v-col
cols="12"
sm="3"
class="pr-4"
>
<label>Alberta Unlimited Liability Corporation Information</label>
</v-col>
<v-col
cols="12"
sm="9"
class="mt-2 mt-sm-n1"
>
<!-- the director's affidavit file -->
<v-btn
text
color="primary"
class="download-affidavit-btn d-block px-2 ml-n2"
:disabled="isDownloading"
:loading="isDownloading"
@click="downloadAffidavitDocument()"
>
<v-icon>mdi-file-pdf-outline</v-icon>
<span>{{ getExistingBusinessInfo.affidavitFileName }}</span>
</v-btn>
</v-col>
</v-row>
</article>
</div>
</section>
</div>
</template>
Expand Down Expand Up @@ -272,8 +298,8 @@ article:not(:last-child) {
padding-bottom: 0;
}
.download-affidavit-btn,
.download-authorization-btn {
.download-authorization-btn,
.download-affidavit-btn {
.v-icon {
// minimum width of icons (to align them)
min-width: 24px;
Expand Down Expand Up @@ -311,6 +337,6 @@ article:not(:last-child) {
overflow: hidden;
text-overflow: ellipsis;
width: 400px;
display: unset;
display: unset;
}
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<template>
<section class="unlimited-liability-corporation-help">
<header>
<h3 class="text-center">
Help with Unlimited Liability Corporation Information
</h3>
<div class="mt-6">
<p>
There is additional information required by the Registrar for an unlimited liability corporation
from Alberta. You are required to provide either a Director's Affidavit or a Court Order.
</p>

<h4>Director's Affidavit</h4>
<p class="mt-1">
An affidavit of a director of the corporation stating that the director believes and has reasonable
grounds for believing that:
</p>
<p class="ml-3">
(i) the corporation is, and the continued unlimited liability company will be, able to pay its
liabilities as they become due, and
</p>
<p class="ml-3">
(ii) the realizable value of the continued unlimited liability company's assets will not be less
than the aggregate of its liabilities.
</p>

<h4>Court Order</h4>
<p class="mt-1">
An order approving the continuation from a court of competent jurisdiction in Alberta.
</p>
</div>
</header>
</section>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
@Component({})
export default class UnlimitedLiabilityCorporationHelp extends Vue {}
</script>
20 changes: 18 additions & 2 deletions src/components/ContinuationIn/UploadAffidavit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<div id="upload-affidavit">
<!-- Upload Affidavit -->
<p :class="{ 'error-text': getShowErrors && !affivaditFileValid }">
Upload the affidavit from the directors.
There is additional information required by the Registrar for an unlimited liability corporation
from Alberta. You are required to provide either a <strong>Director's Affidavit</strong> or a
<strong>Court Order</strong>. This will be reviewed by BC Registries staff.
</p>

<ul>
Expand Down Expand Up @@ -61,6 +63,15 @@
</v-icon>
</v-btn>
</div>

<ExpandableHelp
class="mt-6"
helpLabel="Help with Unlimited Liability Corporation Information"
>
<template #content>
<UnlimitedLiabilityCorporationHelp />
</template>
</ExpandableHelp>
</div>
</template>

Expand All @@ -72,9 +83,14 @@ import { StatusCodes } from 'http-status-codes'
import { DateMixin, DocumentMixin } from '@/mixins'
import { ExistingBusinessInfoIF, PresignedUrlIF } from '@/interfaces'
import FileUploadPreview from '@/components/common/FileUploadPreview.vue'
import { ExpandableHelp } from '@bcrs-shared-components/expandable-help'
import UnlimitedLiabilityCorporationHelp from './UnlimitedLiabilityCorporationHelp.vue'
@Component({
components: {
FileUploadPreview
ExpandableHelp,
FileUploadPreview,
UnlimitedLiabilityCorporationHelp
}
})
export default class UploadAffidavit extends Mixins(DateMixin, DocumentMixin) {
Expand Down
7 changes: 2 additions & 5 deletions src/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,17 +240,14 @@ export const useStore = defineStore('store', {

/**
* Whether a Continuation In Director's Affidavit is required.
* Is true if the business is a Continued In ULC from Alberta or Nova Scotia.
* 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' ||
previousJurisdiction?.region === 'NS'
)
(previousJurisdiction?.region === 'AB')
)
},

Expand Down
Loading

0 comments on commit 700a2ff

Please sign in to comment.