-
Notifications
You must be signed in to change notification settings - Fork 40
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
18584 - Fix paybc changes. #1326
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
for line in status.revenue) \ | ||
and invoice.invoice_status_code == InvoiceStatus.REFUND_REQUESTED.value | ||
for line in status.revenue: | ||
if len(line.refund_data) == 0: |
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.
Had to put this in, otherwise using all
like above fails when refund_data = []
return all(line.refundglstatus == PaymentDetailsGlStatus.CMPLT | ||
for line in status.revenue) | ||
for line in status.revenue: | ||
if len(line.refund_data) == 0: |
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.
Had to put this in, otherwise using all like above fails when refund_data = []
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1326 +/- ##
==========================================
- Coverage 91.45% 82.95% -8.51%
==========================================
Files 186 22 -164
Lines 11319 1701 -9618
==========================================
- Hits 10352 1411 -8941
+ Misses 967 290 -677
Flags with carried forward coverage won't be shown. Click here to find out more.
|
bcgov/entity#18584
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0).