Skip to content

Commit

Permalink
v.2.2.3 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostrainman authored and gwinn committed Sep 5, 2017
1 parent f77294b commit 8d646a7
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2017-09-04 v.2.2.3
* Исправлена работа истории

## 2017-09-04 v.2.2.2
* Исправлен инсталлятор
* Изменена передача данных по пользователю
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ public static function shipmentUpdate($orderCrm, $optionsDelivTypes, $accountNum
\Bitrix\Sale\Internals\ShipmentTable::update($arDelivery['ID'], array('DELIVERY_ID' => $nowDelivery, 'DELIVERY_NAME' => $arDeliveryID[$nowDelivery]['NAME']));
}
}
if ($cnt = 1 && $arDelivery['DELIVERY_ID'] == 0) {
if ($cnt == 1 && $arDelivery['DELIVERY_ID'] == 0) {
$shipment = Bitrix\Sale\Internals\ShipmentTable::add(array(
'ORDER_ID' => $orderCrm['externalId'],
'STATUS_ID' => 'DN',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ public static function shipmentUpdate($orderCrm, $optionsDelivTypes, $accountNum
\Bitrix\Sale\Internals\ShipmentTable::update($arDelivery['ID'], array('DELIVERY_ID' => $nowDelivery, 'DELIVERY_NAME' => $arDeliveryID[$nowDelivery]['NAME']));
}
}
if ($cnt = 1 && $arDelivery['DELIVERY_ID'] == 0) {
if ($cnt == 1 && $arDelivery['DELIVERY_ID'] == 0) {
$shipment = Bitrix\Sale\Internals\ShipmentTable::add(array(
'ORDER_ID' => $orderCrm['externalId'],
'STATUS_ID' => 'DN',
Expand Down
3 changes: 1 addition & 2 deletions intaro.retailcrm/description.ru
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
- Исправлен инсталлятор
- Изменена передача данных по пользователю
- Исправлена работа истории
6 changes: 6 additions & 0 deletions intaro.retailcrm/install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,9 @@ function DoInstall()
if (!CModule::IncludeModule("catalog")) {
$arResult['errCode'] = 'ERR_CATALOG';
}
if (!CModule::IncludeModule("sale")) {
$arResult['errCode'] = 'ERR_SALE';
}

$api_host = COption::GetOptionString($this->MODULE_ID, $this->CRM_API_HOST_OPTION, 0);
$api_key = COption::GetOptionString($this->MODULE_ID, $this->CRM_API_KEY_OPTION, 0);
Expand Down Expand Up @@ -703,6 +706,9 @@ function DoInstall()
if (!CModule::IncludeModule("catalog")) {
$arResult['errCode'] = 'ERR_CATALOG';
}
if (!CModule::IncludeModule("sale")) {
$arResult['errCode'] = 'ERR_SALE';
}

if (isset($arResult['errCode']) && $arResult['errCode']) {
$APPLICATION->IncludeAdminFile(
Expand Down
4 changes: 2 additions & 2 deletions intaro.retailcrm/install/version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?
$arModuleVersion = array(
"VERSION" => "2.2.2",
"VERSION_DATE" => "2017-09-04 12:00:00"
"VERSION" => "2.2.3",
"VERSION_DATE" => "2017-09-05 12:00:00"
);

0 comments on commit 8d646a7

Please sign in to comment.