Skip to content

Commit

Permalink
Merge pull request #641 from jamespaologarcia/19039-resulting-company…
Browse files Browse the repository at this point in the history
…-name

19039-show-resulting-name-and-business-type
  • Loading branch information
jamespaologarcia authored Feb 5, 2024
2 parents ce759b3 + b14fbe8 commit 467fd3e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "5.8.6",
"version": "5.8.7",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
9 changes: 5 additions & 4 deletions src/components/Amalgamation/ResultingBusinessName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
>
<!-- Editing Mode -->
<div
v-if="!getCorrectNameOption"
v-if="!getCorrectNameOption && isAmalgamationFilingRegular"
class="section-container"
:class="{ 'invalid-section': invalidSection }"
>
Expand Down Expand Up @@ -47,9 +47,12 @@
<!-- Display Mode -->
<template v-else>
<NameRequestInfo />
<NameTranslations />
<NameTranslations
v-if="isAmalgamationFilingRegular"
/>

<v-btn
v-if="isAmalgamationFilingRegular"
text
color="primary"
class="btn-undo"
Expand Down Expand Up @@ -179,14 +182,12 @@ export default class ResultingBusinessName extends Mixins(AmalgamationMixin, Nam
top: 22px;
right: 20px;
}
// "sm" breakpoint
@media (min-width: 600px) {
.btn-undo {
top: 24px;
}
}
// "md" breakpoint
@media (min-width: 960px) {
.btn-undo {
Expand Down
4 changes: 3 additions & 1 deletion src/mixins/filing-template-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM
amalgamatingBusinesses: this.getAmalgamatingBusinesses,
type: this.getAmalgamationType,
nameRequest: {
legalType: this.getEntityType
legalType: this.getEntityType,
correctNameOption: this.getCorrectNameOption
},
nameTranslations: this.getNameTranslations,
offices: this.getDefineCompanyStep.officeAddresses,
Expand Down Expand Up @@ -254,6 +255,7 @@ export default class FilingTemplateMixin extends Mixins(AmalgamationMixin, DateM

// restore business name data
const nameRequest = draftFiling.amalgamationApplication.nameRequest as NameRequestFilingIF

switch (nameRequest?.correctNameOption) {
case CorrectNameOptions.CORRECT_AML_ADOPT:
this.setCorrectNameOption(CorrectNameOptions.CORRECT_AML_ADOPT)
Expand Down
11 changes: 11 additions & 0 deletions src/views/Amalgamation/Information.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
</header>

<ExpandableHelp
v-if="isAmalgamationFilingRegular"
class="mt-4"
helpLabel="Help with Business Type"
>
Expand All @@ -71,6 +72,16 @@
</template>
</ExpandableHelp>

<p
v-else
class="mt-3"
>
This is a {{ isAmalgamationFilingVertical ? 'vertical' : 'horizontal' }} short form amalgamation
under section 273 of Business Corporations Act.
The amalgamated business will adopt as its notice of articles, the notice of articles of the
{{ isAmalgamationFilingVertical ? 'holding' : 'primary' }} business.
</p>

<ResultingBusinessName class="mt-5" />
</section>
</div>
Expand Down

0 comments on commit 467fd3e

Please sign in to comment.