istallation fixes; diiscountPercent fix;
This commit is contained in:
parent
7bf2c2b8dc
commit
abb2cdf7ea
@ -270,6 +270,9 @@ class ICrmOrderActions
|
|||||||
else
|
else
|
||||||
$pr = '';
|
$pr = '';
|
||||||
|
|
||||||
|
if($p['DISCOUNT_VALUE'])
|
||||||
|
$p['DISCOUNT_PRICE'] = null;
|
||||||
|
|
||||||
$items[] = array(
|
$items[] = array(
|
||||||
'initialPrice' => (double) $p['PRICE'] + (double) $p['DISCOUNT_PRICE'],
|
'initialPrice' => (double) $p['PRICE'] + (double) $p['DISCOUNT_PRICE'],
|
||||||
'purchasePrice' => $pr,
|
'purchasePrice' => $pr,
|
||||||
|
@ -427,7 +427,7 @@ class intaro_intarocrm extends CModule
|
|||||||
}
|
}
|
||||||
|
|
||||||
function DeleteFiles() {
|
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/intarocrm_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_setup.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
<?
|
<?
|
||||||
$arModuleVersion = array(
|
$arModuleVersion = array(
|
||||||
'VERSION' => '0.3.6',
|
'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