From b8a03b8f4c2d8e7cb0e74533748a0f4a43e4880a Mon Sep 17 00:00:00 2001 From: Travis Semple Date: Tue, 10 Oct 2023 12:22:09 -0700 Subject: [PATCH] Add in the two dates that were missing. --- pay-api/src/pay_api/models/payment.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pay-api/src/pay_api/models/payment.py b/pay-api/src/pay_api/models/payment.py index cc6f1b36a..77c897bf2 100644 --- a/pay-api/src/pay_api/models/payment.py +++ b/pay-api/src/pay_api/models/payment.py @@ -226,7 +226,9 @@ def search_purchase_history(cls, # noqa:E501; pylint:disable=too-many-arguments Invoice.business_identifier, Invoice.created_by, Invoice.filing_id, - Invoice.bcol_account + Invoice.bcol_account, + Invoice.disbursement_date, + Invoice.overdue_date ), contains_eager(Invoice.payment_line_items) .load_only(PaymentLineItem.description, PaymentLineItem.gst, PaymentLineItem.pst)