Переглянути джерело

Merge branch 'dev'

prodstable
Guillaume Bourgeois 2 роки тому
джерело
коміт
363a1595fc
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      common/helpers/Price.php

+ 1
- 1
common/helpers/Price.php Переглянути файл

@@ -61,7 +61,7 @@ class Price
$priceWithoutTax = self::round($priceWithoutTax);
$vat = self::getVat($priceWithoutTax, $taxRate, $taxCalculationMethod);

return $priceWithoutTax + $vat;
return self::numberTwoDecimals(self::round($priceWithoutTax + $vat));
}

public static function getVat($priceTotalWithoutTax, $taxRate, $taxCalculationMethod = Document::TAX_CALCULATION_METHOD_DEFAULT)

Завантаження…
Відмінити
Зберегти