confirm yd orders for release in china

This commit is contained in:
omair saleh
2022-01-25 12:15:26 +08:00
parent bd5e89e832
commit 0a51074064
@@ -198,6 +198,8 @@ class FetchOrderListsFromYdPortalProcessor
}
}
DB::beginTransaction();
$packingListReference = $row->expressno;
try{
@@ -254,6 +256,8 @@ class FetchOrderListsFromYdPortalProcessor
$this->createPackageProcessor->execute($packageObject, $packingList);
}
DB::commit();
$marking = $order->companyModule->inviters()->withPivot('invitee_reference')->first()->pivot->invitee_reference;
if(!in_array($marking, ['2192KAA', '2353GFE', '6866DTR', '153DSR', '1291NSC', '8288MIB'])){
$this->fetchesDataFRomYDPortal->clientRequest('http://www.yd-wl.com/api/confirmsendorder.ashx', 'GET', [