Skip to content

Commit

Permalink
put back queue message
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Feb 12, 2025
1 parent be597bd commit 1a42a51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pay-queue/src/pay_queue/services/cgi_reconciliations.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,13 +300,11 @@ def _set_invoice_jv_reversal(invoice: InvoiceModel, effective_date: datetime, is
if is_reversal:
invoice.invoice_status_code = InvoiceStatus.REFUNDED.value
invoice.refund_date = effective_date
# Release message refunded
EjvPayService().release_payment_or_reversal(invoice, transaction_status=TransactionStatus.REVERSAL.value)
else:
invoice.invoice_status_code = InvoiceStatus.PAID.value
invoice.payment_date = effective_date
invoice.paid = invoice.total
EjvPayService().release_payment_or_reversal(invoice)


def _fix_invoice_line(line):
Expand Down

0 comments on commit 1a42a51

Please sign in to comment.