From 42d8f811c6b96c4dc8ac0cd630775c21e4231435 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Mon, 1 Jul 2024 13:13:15 +0800 Subject: [PATCH] export based on payment date --- .../Modules/Exports/Services/ExportsPaymentTransactions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php b/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php index e2a147f6..5d0d865d 100644 --- a/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php +++ b/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php @@ -76,7 +76,7 @@ class ExportsPaymentTransactions implements FromQuery, WithHeadings, WithHeading // pendingPaymentSection $approvalStatus = ApprovalStatus::APPROVED; } - +dd($approvalStatus); // $query->where('type', TransactionType::SHIPPING_INVOICE)->whereIn('status', [$approvalStatus]); $query->whereIn('type', [TransactionType::SHIPPING_INVOICE, TransactionType::STORAGE_INVOICE])->whereIn('status', [$approvalStatus]);