Skip to content

Commit

Permalink
comment, will fix in a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Jul 17, 2024
1 parent f0177e6 commit b29da11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jobs/payment-jobs/tasks/electronic_funds_transfer_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def link_electronic_funds_transfers_cfs(cls):
invoice.flush()
credit_invoice_link.status_code = EFTCreditInvoiceStatus.COMPLETED.value
credit_invoice_link.flush()
# check if partner needs disbursement.. if so add this row.
PartnerDisbursements(
amount=credit_invoice_link.amount,
disbursement_type='INVOICE',
Expand Down Expand Up @@ -150,6 +151,7 @@ def reverse_electronic_funds_transfers_cfs(cls):
db.session.delete(receipt)
credit_invoice_link.status_code = EFTCreditInvoiceStatus.REFUNDED.value
credit_invoice_link.flush()
# check if partner needs disbursement.. if so add this row.
PartnerDisbursements(
amount=credit_invoice_link.amount,
disbursement_type='INVOICE',
Expand Down

0 comments on commit b29da11

Please sign in to comment.