Skip to content

Conversation

@shabeeb-aot
Copy link
Contributor

@shabeeb-aot shabeeb-aot commented Jul 8, 2022

Issue #: /bcgov/entity#12854
Issue #: /bcgov/entity#8948
Issue #: /bcgov/entity#9233

Description of changes:

  • Validation for Incorporation/Reference Number and quantity
  • on cancel click clear the field

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

@shabeeb-aot shabeeb-aot requested a review from seeker25 July 8, 2022 22:00
@codecov
Copy link

codecov bot commented Jul 8, 2022

Codecov Report

Merging #158 (e8f0d35) into main (76e1760) will increase coverage by 1.91%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #158      +/-   ##
===========================================
+ Coverage   98.08%   100.00%   +1.91%     
===========================================
  Files          42        42              
  Lines         366       243     -123     
  Branches        2         0       -2     
===========================================
- Hits          359       243     -116     
+ Misses          7         0       -7     
Flag Coverage Δ
fasui 100.00% <ø> (+1.91%) ⬆️

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

Impacted Files Coverage Δ
src/components/Dashboard/Search.vue 100.00% <ø> (ø)
...ReviewRoutingSlip/ReviewRoutingSlipCashPayment.vue 100.00% <ø> (ø)
...viewRoutingSlip/ReviewRoutingSlipChequePayment.vue 100.00% <ø> (ø)
...nts/ReviewRoutingSlip/ReviewRoutingSlipPayment.vue 100.00% <ø> (+7.14%) ⬆️
...omponents/RoutingSlip/CreateRoutingSlipDetails.vue 100.00% <ø> (ø)
...ts/ViewRoutingSlip/AddManualTransactionDetails.vue 100.00% <ø> (ø)
src/components/common/StatusMenu.vue 100.00% <ø> (ø)
src/views/ViewRoutingSlip.vue 100.00% <0.00%> (ø)
src/views/auth/SignoutView.vue 100.00% <0.00%> (ø)
... and 31 more


const quantityRules = [
v => !!v || 'This field is required',
v => (v > 0) || 'Quantity should be grater than 0'
Copy link
Collaborator

Choose a reason for hiding this comment

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

greater

{
"name": "fas-ui",
"version": "1.0.2",
"version": "1.0.3",
Copy link
Collaborator

@seeker25 seeker25 Jul 8, 2022

Choose a reason for hiding this comment

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

might want to bump this to 1.0.6 to match the github release version - I know we're missing a few versions to correlate with the release.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we don't want to increase the version number like that. when multiple PR comes with versions, it will not keep up with release version

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sounds good to me.

@seeker25
Copy link
Collaborator

seeker25 commented Jul 8, 2022

Also this handles Also this handles https://www.github.com/bcgov/entity/issues/9233 ( I put it in the description)

@shabeeb-aot shabeeb-aot merged commit 6656843 into bcgov:main Jul 8, 2022
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.

2 participants