Browse Source

Merge branch 'dev'

prodstable
Guillaume Bourgeois 2 years ago
parent
commit
a08f654dd0
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      common/helpers/Price.php

+ 0
- 1
common/helpers/Price.php View File

@@ -58,7 +58,6 @@ class Price

public static function getPriceWithTax($priceWithoutTax, $taxRate, $taxCalculationMethod = Document::TAX_CALCULATION_METHOD_DEFAULT)
{
$priceWithoutTax = self::round($priceWithoutTax);
$vat = self::getVat($priceWithoutTax, $taxRate, $taxCalculationMethod);

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

Loading…
Cancel
Save