update
This commit is contained in:
@@ -297,7 +297,7 @@ final class ShopproOrdersSyncService
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
* @return array<string, string> shoppro_status_code => orderpro_status_code (reverse of DB direction)
|
||||
*/
|
||||
private function buildStatusMap(int $integrationId): array
|
||||
{
|
||||
@@ -309,7 +309,9 @@ final class ShopproOrdersSyncService
|
||||
if ($shopCode === '' || $orderCode === '') {
|
||||
continue;
|
||||
}
|
||||
$map[$shopCode] = $orderCode;
|
||||
if (!isset($map[$shopCode])) {
|
||||
$map[$shopCode] = $orderCode;
|
||||
}
|
||||
}
|
||||
|
||||
return $map;
|
||||
|
||||
Reference in New Issue
Block a user