Merge branch 'main' of http://91.189.216.43:3000/jacek.pyziak/shopPRO
This commit is contained in:
6
cron.php
6
cron.php
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user