From e89839135e17d49734738f11732d12223f58e304 Mon Sep 17 00:00:00 2001 From: Ivan Chaplygin Date: Thu, 31 Aug 2023 11:09:50 +0300 Subject: [PATCH] =?UTF-8?q?ref=20#90954=20=D0=98=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=D1=81=20VatRate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classes/general/history/RetailCrmHistory_v5.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index 3fe712e9..41e6f2d0 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -1042,7 +1042,7 @@ class RetailCrmHistory $vatRate = null; if (RetailcrmConfigProvider::getOrderVat() === 'Y') { - if ($product['vatRate'] === 0) { + if ($product['vatRate'] === 0 || $product['vatRate'] === 'none') { $vatRate = 0; } elseif($product['vatRate'] !== null) { $vatRate = $product['vatRate'] / 100;