1
0
mirror of synced 2024-11-29 00:36:07 +03:00

Fixes for vat rate

This commit is contained in:
Akolzin Dmitry 2020-04-29 17:47:25 +03:00 committed by GitHub
parent 672598a228
commit 1cee1ff6af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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