istallation fixes; diiscountPercent fix;
This commit is contained in:
parent
7bf2c2b8dc
commit
abb2cdf7ea
@ -146,7 +146,7 @@ class ICrmOrderActions
|
||||
COption::SetOptionString(self::$MODULE_ID, self::$CRM_ORDER_LAST_ID, $lastOrderId);
|
||||
|
||||
return true; //all ok!
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
@ -269,7 +269,10 @@ class ICrmOrderActions
|
||||
$pr = $pr['PURCHASING_PRICE'];
|
||||
else
|
||||
$pr = '';
|
||||
|
||||
|
||||
if($p['DISCOUNT_VALUE'])
|
||||
$p['DISCOUNT_PRICE'] = null;
|
||||
|
||||
$items[] = array(
|
||||
'initialPrice' => (double) $p['PRICE'] + (double) $p['DISCOUNT_PRICE'],
|
||||
'purchasePrice' => $pr,
|
||||
|
@ -427,7 +427,7 @@ class intaro_intarocrm extends CModule
|
||||
}
|
||||
|
||||
function DeleteFiles() {
|
||||
unlink($_SERVER['DOCUMENT_ROOT'] . '/bitrix/php_interface/include/catalog_export/crm_run.php');
|
||||
unlink($_SERVER['DOCUMENT_ROOT'] . '/bitrix/php_interface/include/catalog_export/crm_setup.php');
|
||||
unlink($_SERVER['DOCUMENT_ROOT'] . '/bitrix/php_interface/include/catalog_export/intarocrm_run.php');
|
||||
unlink($_SERVER['DOCUMENT_ROOT'] . '/bitrix/php_interface/include/catalog_export/intarocrm_setup.php');
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?
|
||||
$arModuleVersion = array(
|
||||
'VERSION' => '0.3.6',
|
||||
'VERSION_DATE' => '2013-07-25 15:29:00',
|
||||
'VERSION_DATE' => '2013-07-25 16:55:00',
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user