mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
fetch vt recieve last 10 days
This commit is contained in:
+3
-1
@@ -141,10 +141,12 @@ class FetchWarehouseReceiveListFromVTPortalProcessor
|
||||
|
||||
$quantity = $parcel[16];
|
||||
|
||||
if(!$quantity || !$parcel[23] || !$parcel[22] || !$parcel[21]){
|
||||
if(!$quantity){
|
||||
continue;
|
||||
}
|
||||
|
||||
if($parcel[23] === null) continue;
|
||||
|
||||
try {
|
||||
$order = $this->fetchesOrder->execute(['reference' => $orderNumber]);
|
||||
$appointee_id = $order->orderRoles()->where('role_id', '=', OrderRoleTypes::ORIGIN_FREIGHT_FORWARDER)->first()->appointee->id;
|
||||
|
||||
Reference in New Issue
Block a user