mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
fix yd api
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ class FetchContainersFromYdPortalProcessor
|
||||
public function execute()
|
||||
{
|
||||
$maxFetchTime = Carbon::now()->subMonths(3);
|
||||
$packingLists = PackingList::where('type', PackingListType::SHIPPING_PACKING_LIST)->whereDate('create_at', '>=', $maxFetchTime)->doesntHave('containers')->get();
|
||||
$packingLists = PackingList::where('type', PackingListType::SHIPPING_PACKING_LIST)->whereDate('created_at', '>=', $maxFetchTime)->doesntHave('containers')->get();
|
||||
|
||||
foreach ($packingLists as $packingList) {
|
||||
$time_start = microtime(true);
|
||||
|
||||
Reference in New Issue
Block a user