Преглед изворни кода

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)

Loading…
Откажи
Сачувај