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'); } }