fix yd fetch data

This commit is contained in:
omair saleh
2022-01-04 20:12:21 +08:00
parent 2d885776dd
commit 95ab15df21
@@ -185,7 +185,7 @@ class FetchOrderListsFromYdPortalProcessor
}
$customerno = preg_split('(-|\(|\)|\/)', $row->customerno);
dd($customerno);
if (!array_key_exists(2, $customerno)){
if (!array_key_exists(1, $customerno)){
continue;
@@ -298,8 +298,6 @@ dd($customerno);
dump('added');
}
} catch (\Throwable $e) {
dd($e);
} catch (\Exception $exception) {
Log::debug($exception);
}