-
Notifications
You must be signed in to change notification settings - Fork 46
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
23092 - Cont in Business Only Alter to Cont in Type #590
23092 - Cont in Business Only Alter to Cont in Type #590
Conversation
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
/gcbrun |
Now a Cont in business can alter to other valid Cont in legal types successfully. Cont In Limited to Cont In BEN, ULC, or CCC |
I cannot test the preview links because Auth API is not returning settings or authorizations. |
Oh yes I see... I tried, not working either |
I will checkout your code and try it locally. ( |
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
OK, this "feels like" the solution I was expecting. However, I have a done a bit of testing and there are issues (though maybe not caused by this code)...
Please test thoroughly, including with new NR to change the business name. Thanks. |
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
/gcbrun |
Thanks Sev. I just updated the comments/order. |
Temporary Url for review: https://business-edit-dev--pr-590-mkdch8go.web.app |
@severinbeauvais |
It should be possible to enter a court number and not check the POA box. This is probably a simple fix you can do in this ticket. According to the court order schema, Please test a ChangeOfRegistration ("firm alteration") filing for the same bug, and fix that, too. If you really want, you can create a new ticket for this. (And then just work on it today.) |
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
@@ -331,7 +332,7 @@ export default class FilingTemplateMixin extends DateMixin { | |||
if (this.getHasPlanOfArrangement || this.getFileNumber) { | |||
filing.alteration.courtOrder = { | |||
fileNumber: this.getFileNumber, | |||
effectOfOrder: this.getHasPlanOfArrangement ? EffectOfOrders.PLAN_OF_ARRANGEMENT : null, | |||
effectOfOrder: this.getHasPlanOfArrangement ? EffectOfOrders.PLAN_OF_ARRANGEMENT : undefined, | |||
hasPlanOfArrangement: this.getHasPlanOfArrangement |
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.
corrected the EffectOfOrders schema for Court Order section
/gcbrun |
Temporary Url for review: https://business-edit-dev--pr-590-mkdch8go.web.app |
@@ -209,7 +209,7 @@ export default class FilingTemplateMixin extends DateMixin { | |||
if (this.getHasPlanOfArrangement || this.getFileNumber) { | |||
filing.correction.courtOrder = { | |||
fileNumber: this.getFileNumber, | |||
effectOfOrder: this.getHasPlanOfArrangement ? EffectOfOrders.PLAN_OF_ARRANGEMENT : null, | |||
effectOfOrder: this.getHasPlanOfArrangement ? EffectOfOrders.PLAN_OF_ARRANGEMENT : undefined, |
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.
Please verify by filing a correction with a court order number and with / without a POA.
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.
Tested ok with CP1002614
@@ -647,7 +648,7 @@ export default class FilingTemplateMixin extends DateMixin { | |||
if (this.getHasPlanOfArrangement || this.getFileNumber) { | |||
filing.changeOfRegistration.courtOrder = { | |||
fileNumber: this.getFileNumber, | |||
effectOfOrder: this.getHasPlanOfArrangement ? EffectOfOrders.PLAN_OF_ARRANGEMENT : null, | |||
effectOfOrder: this.getHasPlanOfArrangement ? EffectOfOrders.PLAN_OF_ARRANGEMENT : undefined, |
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.
Please verify by filing a change of registration with a court order number and with / without a POA.
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.
Tested ok with FM1085277
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.
The code looks good but please ensure you have tested these scenarios before merging (and also add Test Notes in the ticket to let Riyaz know what you've verified locally):
- BC to another type
- BEN to another type
- CC to another type
- ULC to another type
- C to another type
- CBEN to another type
- CCC to another type
- CUL to another type
- use name change NRs for the above wherever possible (if you find bugs related to this then create another ticket)
Thanks for the good work 👍
/gcbrun |
Issue #: /bcgov/entity#23092
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 bcrs-entities-create-ui license (Apache 2.0).