исправление генерации единиц измерения
This commit is contained in:
parent
a56965dcba
commit
f26e36052f
@ -1,3 +1,6 @@
|
||||
## 2019-08-28 v.2.5.1
|
||||
* Исправление генерации единиц измерения
|
||||
|
||||
## 2019-07-26 v.2.5.0
|
||||
* Исправление создание дублей заказов
|
||||
|
||||
|
@ -657,8 +657,16 @@ class RetailCrmICML
|
||||
} else {
|
||||
$offer .= '<unit code="' . $this->PrepareValue($arOffer["MEASURE"]['SYMBOL_INTL']) . '" name="' . $this->PrepareValue($arOffer["MEASURE"]['MEASURE_TITLE']) . '" sym="' . $this->PrepareValue($arOffer["MEASURE"]['SYMBOL_RUS']) . '" />' . "\n";
|
||||
}
|
||||
} else {
|
||||
$measure = \Bitrix\Catalog\ProductTable::getCurrentRatioWithMeasure($arOffer["ID"]);
|
||||
|
||||
if ($this->measure[$measure[$arOffer["ID"]]["MEASURE"]['SYMBOL_INTL']]) {
|
||||
$offer .= '<unit code="' . $this->measure[$this->PrepareValue($measure[$arOffer["ID"]]["MEASURE"]['SYMBOL_INTL'])] . '" />' . "\n";
|
||||
} else {
|
||||
$offer .= '<unit code="' . $this->PrepareValue($measure[$arOffer["ID"]]["MEASURE"]['SYMBOL_INTL']) . '" name="' . $this->PrepareValue($measure[$arOffer["ID"]]["MEASURE"]['MEASURE_TITLE']) . '" sym="' . $this->PrepareValue($measure[$arOffer["ID"]]["MEASURE"]['SYMBOL_RUS']) . '" />' . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
if ($arOffer["BARCODE"]) {
|
||||
$offer.= "<barcode>" . $this->PrepareValue($arOffer["BARCODE"]) . "</barcode>\n";
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
- Исправление создание дублей заказов
|
||||
- Исправление генерации единиц измерения
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?
|
||||
$arModuleVersion = array(
|
||||
"VERSION" => "2.5.0",
|
||||
"VERSION_DATE" => "2019-07-26 17:40:00"
|
||||
"VERSION" => "2.5.1",
|
||||
"VERSION_DATE" => "2019-08-28 15:20:00"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user