Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Jul 17, 2024
1 parent dbf4040 commit 95474bd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jobs/payment-jobs/tasks/electronic_funds_transfer_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,12 @@ def _apply_eft_receipt_to_invoice(cls,

@classmethod
def link_electronic_funds_transfers_cfs(cls):
"""Replicate linked EFT's as receipts inside of CFS.
"""Replicate linked EFT's as receipts inside of CFS and mark invoices.
Steps:
1. Find all pending EFT Credit Invoice Links in PENDING status.
2. Receipts created in CAS representing the EFT.
3. Apply the receipts to the invoices.
4. Notify mailer
"""
credit_invoice_links = cls._get_eft_credit_invoice_links_by_status(EFTCreditInvoiceStatus.PENDING.value)
for invoice, credit_invoice_link, cfs_account in credit_invoice_links:
Expand Down Expand Up @@ -121,7 +120,7 @@ def link_electronic_funds_transfers_cfs(cls):

@classmethod
def reverse_electronic_funds_transfers_cfs(cls):
"""Reverse electronic funds transfers."""
"""Reverse electronic funds transfers receipts in CFS and reset invoices."""
credit_invoice_links = cls._get_eft_credit_invoice_links_by_status(EFTCreditInvoiceStatus.PENDING_REFUND.value)
for invoice, credit_invoice_link, cfs_account in credit_invoice_links:
try:
Expand Down

0 comments on commit 95474bd

Please sign in to comment.