parent
0f36654be5
commit
e89839135e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue