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

18202 show both named and numbered option for LTD company #735

Merged
merged 13 commits into from
Oct 26, 2023
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": "name-request",
"version": "5.3.0",
"version": "5.3.1",
"private": true,
"appName": "Name Request UI",
"sbcName": "SBC Common Components",
Expand Down
9 changes: 4 additions & 5 deletions src/components/new-request/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
<!-- Restoration / Reinstatement flow -->
<template v-else-if="isRestoration">
<BusinessLookupFetch />
<CompanyType v-if="getSearchBusiness && isBcRestorable && isSupportedRestoration(getEntityTypeCd)" />
<CompanyType v-if="getSearchBusiness && isBcRestorable" />
<Jurisdiction
v-if="isSelectedXproAndRestorable"
cols="12"
Expand All @@ -250,7 +250,7 @@
<!-- federal sub-flow -->
<XproFederalBullets v-if="isFederal && getSearchBusiness" />

<template v-if="(isRestorable && !isFederal) && (isNamedCompany || !isSupportedRestoration(getEntityTypeCd))">
<template v-if="isRestorable && !isFederal && isNamedCompany">
<v-col
cols="12"
:md="(showDesignation || isSelectedXproAndRestorable) ? '8' : '12'"
Expand Down Expand Up @@ -291,7 +291,7 @@
:href="colinLink"
target="_blank"
>
Go to Corporate Online to {{ isConversion ? 'Alter' : 'Register' }}
Go to Corporate Online to {{ isConversion ? 'Alter' : isRestoration ? 'Restore' : 'Register'}}
severinbeauvais marked this conversation as resolved.
Show resolved Hide resolved
<v-icon
right
small
Expand Down Expand Up @@ -622,8 +622,7 @@ export default class Search extends Mixins(CommonMixin, NrAffiliationMixin, Sear
if (this.isRestoration) {
if (this.getEntityTypeCd && this.isNamedCompany && !this.isFederal) return true
if (this.getEntityTypeCd && this.isSelectedXproAndRestorable && !this.isFederal) return true
if (this.getSearchBusiness && this.isBcRestorable &&
!this.isSupportedRestoration(this.getEntityTypeCd)) return true
if (this.getSearchBusiness && this.isBcRestorable && this.isNamedCompany) return true
}

// Conditional for Continuation In Flow.
Expand Down
Loading