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