This commit is contained in:
2024-11-24 21:34:01 +01:00

View File

@@ -517,6 +517,8 @@ if ( $apilo_settings['enabled'] and $apilo_settings['sync_orders'] and $apilo_se
$street = $paczkomatData['address'];
else if ( $orlenPointData )
$street = $orlenPointData['address'];
else if ( $order['transport_id'] == 3 )
$street = 'ul. Krakowska 156/104';
if ( $order['client_city'] )
$city = $order['client_city'];
@@ -524,6 +526,8 @@ if ( $apilo_settings['enabled'] and $apilo_settings['sync_orders'] and $apilo_se
$city = $paczkomatData['city'];
else if ( $orlenPointData )
$city = $orlenPointData['city'];
else if ( $order['transport_id'] == 3 )
$city = 'Rzeszów';
if ( $order['client_postal_code'] )
$postal_code = $order['client_postal_code'];
@@ -531,6 +535,8 @@ if ( $apilo_settings['enabled'] and $apilo_settings['sync_orders'] and $apilo_se
$postal_code = $paczkomatData['postalCode'];
else if ( $orlenPointData )
$postal_code = $orlenPointData['postalCode'];
else if ( $order['transport_id'] == 3 )
$postal_code = '35-506';
$postData = [
'idExternal' => $order['id'],