1
0
mirror of synced 2024-11-22 05:16:09 +03:00

istallation fixes; diiscountPercent fix;

This commit is contained in:
Grisha Pomadchin 2013-07-25 16:56:36 +04:00
parent 7bf2c2b8dc
commit abb2cdf7ea
3 changed files with 8 additions and 5 deletions

View File

@ -270,6 +270,9 @@ class ICrmOrderActions
else
$pr = '';
if($p['DISCOUNT_VALUE'])
$p['DISCOUNT_PRICE'] = null;
$items[] = array(
'initialPrice' => (double) $p['PRICE'] + (double) $p['DISCOUNT_PRICE'],
'purchasePrice' => $pr,

View File

@ -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');
}
}

View File

@ -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',
);