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

@ -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,

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