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;