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

Merge pull request #72 from Evgeniy-Goroh/master

fix order double create
This commit is contained in:
Alex Lushpai 2019-07-29 10:45:17 +03:00 committed by GitHub
commit 93315c7a5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,6 @@
## 2019-07-26 v.2.5.0
* Исправление создание дублей заказов
## 2019-07-18 v.2.4.9
* Добавлен поиск города по почтовому индексу при выгрузке истории изменений

View File

@ -205,7 +205,7 @@ class RetailCrmOrder
'amount' => $payment['SUM']
);
if (!empty($payment['ID'])) {
$pm['externalId'] = RCrmActions::generatePaymentExternalId($payment['ID']);
$pm['externalId'] = $payment['ID'];
}
if (!empty($payment['DATE_PAID'])) {
$pm['paidAt'] = new \DateTime($payment['DATE_PAID']);

View File

@ -1 +1 @@
- Добавлен поиск города по почтовому индексу при выгрузке истории изменений
- Исправление создание дублей заказов

View File

@ -1,5 +1,5 @@
<?
$arModuleVersion = array(
"VERSION" => "2.4.9",
"VERSION_DATE" => "2019-07-18 12:26:00"
"VERSION" => "2.5.0",
"VERSION_DATE" => "2019-07-26 17:40:00"
);