mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
fix export arrival list
This commit is contained in:
@@ -40,7 +40,7 @@ class ExportsArrivedParcel implements WithHeadings, WithHeadingRow, WithMapping,
|
||||
{
|
||||
$returnArray = collect();
|
||||
|
||||
$packingLists = PackingList::where('type', '=', 1)->where('status', '=', 2)->whereHas('transport', function ($query){
|
||||
$packingLists = PackingList::where('type', '=', 1)->where('status', '=', 2)->whereHas('transports', function ($query){
|
||||
return $query->whereMonth('drop_date', '>', 3)->whereYear('drop_date', 2022);
|
||||
})->get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user