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

Make General Collateral required for Income Tax Act registration #1619

Merged
merged 5 commits into from
Nov 9, 2023

Conversation

dimak1
Copy link
Collaborator

@dimak1 dimak1 commented Nov 8, 2023

Issue #:

Description of changes:

  • Make General Collateral required for Income Tax Act registration
  • Add unit test
  • Update default text for General Collateral for certain Reg Types

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

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Merging #1619 (f24fb68) into main (9255e77) will increase coverage by 4.89%.
Report is 322 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1619      +/-   ##
==========================================
+ Coverage   72.35%   77.24%   +4.89%     
==========================================
  Files         307      379      +72     
  Lines       12767     7017    -5750     
  Branches     2630     1122    -1508     
==========================================
- Hits         9237     5420    -3817     
+ Misses       3518     1565    -1953     
- Partials       12       32      +20     
Flag Coverage Δ
pprui 77.24% <ø> (+4.89%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
ppr-ui/src/App.vue 100.00% <ø> (+56.78%) ⬆️
ppr-ui/src/components/collateral/Collateral.vue 100.00% <ø> (+10.97%) ⬆️
...nents/collateral/generalCollateral/GenColAmend.vue 100.00% <ø> (+18.00%) ⬆️
...onents/collateral/generalCollateral/GenColEdit.vue 100.00% <ø> (+15.15%) ⬆️
...nts/collateral/generalCollateral/GenColSummary.vue 100.00% <ø> (+8.00%) ⬆️
...collateral/generalCollateral/GeneralCollateral.vue 100.00% <ø> (+6.66%) ⬆️
...ts/collateral/vehicleCollateral/EditCollateral.vue 100.00% <ø> (+22.58%) ⬆️
...collateral/vehicleCollateral/VehicleCollateral.vue 100.00% <ø> (+19.41%) ⬆️
...cleCollateral/factories/useCollateralValidation.ts 71.42% <ø> (ø)
...llateral/vehicleCollateral/factories/useVehicle.ts 70.14% <ø> (-0.91%) ⬇️
... and 34 more

... and 281 files with indirect coverage changes

Copy link
Collaborator

@cameron-eyds cameron-eyds left a comment

Choose a reason for hiding this comment

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

Looks good!
Does this include the default value, as there was previous talk that was a similar issue or the root cause of this one?

Copy link
Contributor

@RuoxuanPengBC RuoxuanPengBC left a comment

Choose a reason for hiding this comment

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

Looks great!

@dimak1
Copy link
Collaborator Author

dimak1 commented Nov 8, 2023

Looks good! Does this include the default value, as there was previous talk that was a similar issue or the root cause of this one?

@cameron-eyds thanks for checking, there is a dependency ticket that I picked up, so I will add a fix in this PR as well.

@dimak1
Copy link
Collaborator Author

dimak1 commented Nov 9, 2023

@cameron-eyds I added a default value for Gen Collateral, if you want to take a quick look. Now, once the user lands on that step, it would be immediately valid, because Gen Col is pre-filled (for certain reg types).

@dimak1
Copy link
Collaborator Author

dimak1 commented Nov 9, 2023

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-assets-dev--pr-1619-fqnow6wo.web.app

@dimak1 dimak1 merged commit 60aa40a into bcgov:main Nov 9, 2023
@dimak1 dimak1 deleted the fix/gen-col-required branch November 9, 2023 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants