Skip to content
New issue

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

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

Already on GitHub? # to your account

19041 Added validation for business not part of a FE amalgamation #649

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

severinbeauvais
Copy link
Collaborator

Issue #: bcgov/entity#19041

Description of changes:

  • app version = 5.8.10
  • added validation for business not part of a FE amalgamation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

- added validation for business not part of a FE amalgamation
@severinbeauvais severinbeauvais self-assigned this Feb 7, 2024
@severinbeauvais severinbeauvais changed the title 19041 19041 Added validation for business not part of a FE amalgamation Feb 7, 2024
@severinbeauvais severinbeauvais marked this pull request as ready for review February 7, 2024 21:53
return true
}

return false
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yui says the current tooltip is fine. Example:

image

Where:

image

Copy link
Collaborator

@JazzarKarim JazzarKarim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!


// check if business is part of a future-effective amalgamation
if (
business.businessInfo?.warnings?.some((w: any) => w.warningType === 'FUTURE_EFFECTIVE_AMALGAMATION')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't have an enum of these things. They are uncommon and infrequently checked.

Copy link
Collaborator

@ketaki-deodhar ketaki-deodhar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@severinbeauvais severinbeauvais merged commit 4bead95 into bcgov:main Feb 7, 2024
4 of 5 checks passed
JazzarKarim pushed a commit to JazzarKarim/business-create-ui that referenced this pull request Feb 23, 2024
- added validation for business not part of a FE amalgamation

Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants