mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 12:34:01 +00:00
fix pending delivery export
This commit is contained in:
@@ -43,7 +43,7 @@ class ExportsPendingArrangementDeliveryList implements FromQuery, WithHeadings,
|
||||
public function query()
|
||||
{
|
||||
return PackingList::where('type', '=', 2)->whereHas('containers', function ($query){
|
||||
$query->where('containers.status', ApprovalStatus::COMPLETED)->where('created_at', Carbon::now()->subMonths(3));
|
||||
$query->where('containers.status', ApprovalStatus::COMPLETED)->where('containers.created_at', Carbon::now()->subMonths(3));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user