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

20951 Added support for continuation in entity types #761

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

severinbeauvais
Copy link
Collaborator

@severinbeauvais severinbeauvais commented Apr 22, 2024

Issue #: bcgov/entity#20951

Description of changes:

  • app version = 5.4.7
  • added CBEN entity type
  • added string/type conversions to common mixin

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

@severinbeauvais severinbeauvais self-assigned this Apr 22, 2024
@severinbeauvais
Copy link
Collaborator Author

/gcbrun

package.json Outdated Show resolved Hide resolved
@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://namerequest-dev--pr-761-38upl0oq.web.app

@@ -176,7 +176,7 @@ export default class App extends Mixins(
@Getter isAuthenticated!: boolean
@Getter isRoleStaff!: boolean
@Getter isMobile!: boolean
@Getter isNewBusiness!: boolean
// @Getter isNewBusiness!: boolean
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 getter is already imported via a mixin so declaring it here displays an error in VS Code. However, I like to keep the declaration here so that it's explicit that this code file uses this getter.

case EntityTypes.C: return 'Continuation In (BC Limited Company)'
case EntityTypes.CBEN: return 'Continuation In (Benefit Company)'
case EntityTypes.CCC: return 'Continuation In (BC Community Contribution Company)'
case EntityTypes.CUL: return 'Continuation In (BC Unlimited Liability Company)'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To be honest, I think these cases don't get used, because as far as Namerequest UI is concerned, the subject NR is for a "BC Benefit Company" (for example), not a CBEN. I think only LEAR cares that this is a continued in benefit company.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

PS - I have asked Naveen to confirm with the business that the NR should appear as a "BC Benefit Company" (as per the screenshot below) even though, internally, LEAR knows it as a CBEN. We will have an answer tomorrow.

case EntityTypes.CP: return CorpTypeCd.COOP
case EntityTypes.CR: return CorpTypeCd.BC_COMPANY
case EntityTypes.CUL: return CorpTypeCd.ULC_CONTINUE_IN
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Same comment as above: I think these (and the 4 below) aren't used, but I added them for completeness.

@severinbeauvais
Copy link
Collaborator Author

Here's what a continuation in NR for a BC Benefit Company looks like:

image

Note that the entity type code (that Namerequest UI uses) is BC (Benefit Company), and the request action code is MVE (move aka continue in). NameX API filled in legal type (CBEN) and request type code (BECT):

image

Copy link
Contributor

@jamespaologarcia jamespaologarcia left a comment

Choose a reason for hiding this comment

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

LGTM

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

- added CBEN entity type
- added string/type conversions to common mixin
Copy link
Collaborator

@eve-git eve-git left a comment

Choose a reason for hiding this comment

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

LGTM

@severinbeauvais severinbeauvais merged commit 09397f1 into bcgov:main Apr 22, 2024
3 of 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.

6 participants