ソースを参照

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)

読み込み中…
キャンセル
保存