From 1cee1ff6af37418993604f333966bcbef576c2c8 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Wed, 29 Apr 2020 17:47:25 +0300 Subject: [PATCH] Fixes for vat rate --- intaro.retailcrm/classes/general/icml/RetailCrmICML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.retailcrm/classes/general/icml/RetailCrmICML.php b/intaro.retailcrm/classes/general/icml/RetailCrmICML.php index d7349c9c..5f10435c 100644 --- a/intaro.retailcrm/classes/general/icml/RetailCrmICML.php +++ b/intaro.retailcrm/classes/general/icml/RetailCrmICML.php @@ -694,7 +694,7 @@ class RetailCrmICML $offer.= "" . $this->PrepareValue($arOffer["BARCODE"]) . "\n"; } - if ($arOffer["CATALOG_VAT"]) { + if ((float)$arOffer["CATALOG_VAT"]) { $vatRate = $arOffer["CATALOG_VAT"]; } else { $vatRate = 'none';