-
Notifications
You must be signed in to change notification settings - Fork 45
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
13550 verify entity type for sp/gp change and conversion filing #507
13550 verify entity type for sp/gp change and conversion filing #507
Conversation
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.
Can you post a screenshot of the console when you try to do a change for BEN for example?
Codecov Report
@@ Coverage Diff @@
## main #507 +/- ##
==========================================
- Coverage 86.96% 85.77% -1.20%
==========================================
Files 195 202 +7
Lines 3645 3753 +108
Branches 444 471 +27
==========================================
+ Hits 3170 3219 +49
- Misses 462 519 +57
- Partials 13 15 +2
|
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.
I think you should also add checks to the other filings. For example:
- Special Resolutions are for coops only
- Alterations are for corps (BC/BEN/CCC/ULC) only
- Limited Restoration Extensions are for corps only
- Limited Restoration to Full are for corps only
- Corp Corrections are for corps only
- Firm Corrections are for firms (SP/GP) only
There will soon be a Special Resolution Correction (or maybe Coop Correction) for coops only -- check with Jia Xu and Travis Semple in RocketChat to see if they can add the entity type check to their code.
It seems like the other filings already have a way to check this (except for Alterations). For example in Limited Restoration Extension theres
|
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.
LGTM, but please wait another review or 2 before merging. Thx.
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.
LGTM 😺
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.
LGTM 👍
Issue #: /bcgov/entity#13550
Description of changes:
Created a switch statement to check for the entity type within Change and Conversion UI, checks if entity is a benefit company
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).