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

18955 - Change invoice status for get invoices for disbursement to include CR… #1346

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

seeker25
Copy link
Collaborator

…EDITED.

Issue #:
bcgov/entity#18955

Description of changes:
Invoices should go into CANCELLED, if they aren't created in CAS yet. Thus if they make it to PAID, but change into CREDITED before being disbursed - they should still be picked up by the disbursement job.

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

@seeker25 seeker25 requested review from Jxio and ochiu as code owners December 11, 2023 16:46
@seeker25
Copy link
Collaborator Author

Just confirming how credited invoices work before merging

@seeker25
Copy link
Collaborator Author

Leaving this one for next sprint

@seeker25 seeker25 closed this Dec 11, 2023
@seeker25 seeker25 reopened this Dec 12, 2023
Copy link

codecov bot commented Dec 12, 2023

Codecov Report

Merging #1346 (c145665) into main (79924ce) will decrease coverage by 8.12%.
Report is 66 commits behind head on main.
The diff coverage is 94.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1346      +/-   ##
==========================================
- Coverage   91.45%   83.34%   -8.12%     
==========================================
  Files         186       22     -164     
  Lines       11319     1723    -9596     
==========================================
- Hits        10352     1436    -8916     
+ Misses        967      287     -680     
Flag Coverage Δ
bcolapi ?
eventlistenerqueue ?
payapi ?
paymentjobs 83.34% <94.54%> (+3.12%) ⬆️
paymentreconciliationsqueue ?
reportapi ?

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

Files Coverage Δ
jobs/payment-jobs/tasks/common/dataclasses.py 100.00% <100.00%> (ø)
jobs/payment-jobs/tasks/common/enums.py 100.00% <ø> (ø)
jobs/payment-jobs/tasks/distribution_task.py 97.70% <100.00%> (-0.06%) ⬇️
...ayment-jobs/tasks/ejv_partner_distribution_task.py 99.17% <100.00%> (+0.03%) ⬆️
jobs/payment-jobs/tasks/ejv_payment_task.py 96.61% <100.00%> (+0.14%) ⬆️
.../payment-jobs/tasks/statement_notification_task.py 79.74% <100.00%> (+47.92%) ⬆️
jobs/payment-jobs/tasks/cfs_create_invoice_task.py 71.03% <0.00%> (-1.42%) ⬇️
jobs/payment-jobs/tasks/ap_task.py 96.07% <92.00%> (+0.03%) ⬆️
...ent-jobs/tasks/direct_pay_automated_refund_task.py 84.37% <82.35%> (-1.68%) ⬇️
jobs/payment-jobs/tasks/statement_due_task.py 96.38% <96.38%> (ø)

... and 166 files with indirect coverage changes

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@seeker25 seeker25 merged commit dbb11ad into bcgov:main Dec 12, 2023
6 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.

3 participants