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

18235 fixed more entity type / corp type mappings #733

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

severinbeauvais
Copy link
Collaborator

Issue #: bcgov/entity#18235

Description of changes:

  • app version = 5.2.14
  • updated "not restorable" error text (per Janis)
  • added missing mapping to isChangeNameXpro()
  • added missing mapping to isSelectedXproAndRestorable()

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).

- updated "not restorable" error text (per Janis)
- added missing mapping to isChangeNameXpro()
- added missing mapping to isSelectedXproAndRestorable()
@severinbeauvais
Copy link
Collaborator Author

/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'
Copy link
Collaborator Author

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".

bcgov/entity#18235 (comment)

@bcregistry-sre
Copy link
Collaborator

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)
Copy link
Collaborator Author

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.

@severinbeauvais severinbeauvais merged commit 8440fd6 into bcgov:main Oct 19, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants