Merge branch 'fixes/fix-facture-tva-amount' into staging
This commit is contained in:
commit
8cb07ad348
@ -115,8 +115,8 @@ sera due sur présentation de justificatifs ( articles L.441-3 et L.441-6 du cod
|
||||
|
||||
$totalHt = 0;
|
||||
$totalTtc = 0;
|
||||
$tvaValue = $this->factureData["configuration"]->tva_default;
|
||||
foreach($this->factureData["products"] as $product){
|
||||
$tvaValue = $product['produit_vat'];
|
||||
$valueHt = $product['produit_price'];
|
||||
$valueTtc = PriceHelpers::calculPriceWithVatValue($valueHt,$tvaValue);
|
||||
$totalHt+=$valueHt;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user