diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 00bcec65..06749116 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -301,18 +301,13 @@ class ICrmOrderActions $dateStart = COption::GetOptionString(self::$MODULE_ID, self::$CRM_ORDER_HISTORY_DATE, null); - var_dump($dateStart); - $orderHistory = $api->orderHistory($dateStart); - - var_dump($orderHistory); if($dateStart) $dateStart = new \DateTime($dateStart); // pushing existing orders foreach ($orderHistory as $order) { - var_dump($order['externalId']); if(!isset($order['externalId']) && !$order['externalId']) { @@ -498,7 +493,6 @@ class ICrmOrderActions implode(" ", $contactName), $order['externalId']); foreach($order['items'] as $item) { - var_dump($item); // del from basket if(isset($item['deleted']) && $item['deleted']) { $p = CSaleBasket::GetList( diff --git a/intaro.intarocrm/options.php b/intaro.intarocrm/options.php index cb45c217..b5004e13 100755 --- a/intaro.intarocrm/options.php +++ b/intaro.intarocrm/options.php @@ -505,9 +505,11 @@ if (isset($_POST['Update']) && ($_POST['Update'] == 'Y')) { - + + +