From 032efcb96b362b960a262e89063ddf9881d60f1f Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Sun, 30 Oct 2022 20:35:54 +0800 Subject: [PATCH] fix payment due date days filter --- .../Eloquent/Filters/PackingListOrderedByInvoiceDate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/General/Eloquent/Filters/PackingListOrderedByInvoiceDate.php b/app/Classes/General/Eloquent/Filters/PackingListOrderedByInvoiceDate.php index f7cd8b5b..e1b1ac58 100644 --- a/app/Classes/General/Eloquent/Filters/PackingListOrderedByInvoiceDate.php +++ b/app/Classes/General/Eloquent/Filters/PackingListOrderedByInvoiceDate.php @@ -23,7 +23,7 @@ class PackingListOrderedByInvoiceDate implements Filter $join->on('transactions.owner_id', '=', 'packing_lists.id'); $join->where('transactions.owner_type', '=', PackingList::class); $join->where('transactions.status', '=', ApprovalStatus::APPROVED); - })->orderBy('transactions.updated_at')->get(); + })->orderBy('transactions.updated_at'); } }