-
Notifications
You must be signed in to change notification settings - Fork 44
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
18235 fixed more entity type / corp type mappings #733
Conversation
- updated "not restorable" error text (per Janis) - added missing mapping to isChangeNameXpro() - added missing mapping to isSelectedXproAndRestorable()
/gcbrun |
@@ -62,7 +62,7 @@ export default class BusinessLookupFetch extends Mixins(CommonMixin, SearchMixin | |||
if (this.isConversion) { | |||
return this.isAlterable || 'This business cannot alter their business type' | |||
} else if (this.isRestoration) { | |||
return this.isRestorable || 'This business cannot be restored' | |||
return this.isRestorable || 'This business cannot be reactivated' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per Janis, this is to cover "restorations" and "reinstatements".
Temporary Url for review: https://namerequest-dev--pr-733-estcaefy.web.app |
@@ -158,7 +158,8 @@ export class SearchMixin extends Mixins(CommonMixin) { | |||
} | |||
|
|||
get isChangeNameXpro (): boolean { | |||
return XproMapping.CHG.includes(this.getSearchBusiness?.legalType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would have worked for the types that are the same between Namerequest and LEAR.
Issue #: bcgov/entity#18235
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namerequest license (Apache 2.0).