1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

fixes icml vat rate

This commit is contained in:
Akolzin Dmitry 2020-04-29 17:13:37 +03:00
parent 610e98c86c
commit 6791a35720

View file

@ -694,7 +694,7 @@ class RetailCrmICML
$offer.= "<barcode>" . $this->PrepareValue($arOffer["BARCODE"]) . "</barcode>\n";
}
if ($arOffer["CATALOG_VAT"]) {
if ((float)$arOffer["CATALOG_VAT"]) {
$vatRate = $arOffer["CATALOG_VAT"];
} else {
$vatRate = 'none';