Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

17469 - Add in dropdown option for BEN when alterating from ULC #545

Merged
merged 4 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-edit-ui",
"version": "4.7.8",
"version": "4.7.9",
"private": true,
"appName": "Edit UI",
"sbcName": "SBC Common Components",
Expand Down
5 changes: 3 additions & 2 deletions src/components/common/YourCompany/ChangeBusinessType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,9 @@ export default class ChangeBusinessType extends Mixins(CommonMixin) {
if (this.isCommunityContribution || this.isUnlimitedLiability) {
return true
}
// Named ULC to BC Limited require a name request.
if (this.getEntitySnapshot?.businessInfo?.legalType === CorpTypeCd.BC_ULC_COMPANY && this.isBcLimited) {
// Named ULC to BC Limited or BC Benefit require a name request.
if (this.getEntitySnapshot?.businessInfo?.legalType === CorpTypeCd.BC_ULC_COMPANY &&
(this.isBcLimited || this.isBenefitCompany)) {
return true
}
return false
Expand Down
5 changes: 5 additions & 0 deletions src/resources/Alteration/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ export const UlcAlterationResource: ResourceIF = {
shortDesc: 'BC Unlimited Liability Company',
text: 'BC Unlimited Liability Company'
},
{
value: 'BEN',
shortDesc: 'BC Benefit Company',
text: 'BC Benefit Company'
},
{
value: 'BC',
shortDesc: 'BC Limited Company',
Expand Down
Loading