From 95474bd3eab16d639c499b7347d4849287de8c82 Mon Sep 17 00:00:00 2001 From: Travis Semple Date: Tue, 16 Jul 2024 18:12:02 -0700 Subject: [PATCH] Cleanup --- jobs/payment-jobs/tasks/electronic_funds_transfer_task.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jobs/payment-jobs/tasks/electronic_funds_transfer_task.py b/jobs/payment-jobs/tasks/electronic_funds_transfer_task.py index 7c5460bbd..d4f31d987 100644 --- a/jobs/payment-jobs/tasks/electronic_funds_transfer_task.py +++ b/jobs/payment-jobs/tasks/electronic_funds_transfer_task.py @@ -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: @@ -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: