1
0
Fork 0
mirror of synced 2025-04-04 14:23:33 +03:00
Исправлена работа с VatRate
This commit is contained in:
Ivan Chaplygin 2023-08-31 11:09:50 +03:00
parent 0f36654be5
commit e89839135e

View file

@ -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;