Skip to content
Snippets Groups Projects
Commit 4fc818d3 authored by guerinaxel's avatar guerinaxel Committed by Laurent Destailleur
Browse files

Correcting var name

Correcting var name for contrat updateline
parent 6cebccf1
No related branches found
No related tags found
No related merge requests found
......@@ -1151,11 +1151,11 @@ class Contrat extends CommonObject
$this->db->begin();
// Calcul du total TTC et de la TVA pour la ligne a partir de
// qty, pu, remise_percent et txtva
// qty, pu, remise_percent et tvatx
// TRES IMPORTANT: C'est au moment de l'insertion ligne qu'on doit stocker
// la part ht, tva et ttc, et ce au niveau de la ligne qui a son propre taux tva.
$localtaxes_type=getLocalTaxesFromRate($txtva,0,$mysoc);
$localtaxes_type=getLocalTaxesFromRate($tvatx,0,$mysoc);
$tabprice=calcul_price_total($qty, $pu, $remise_percent, $tvatx, $localtaxtx1, $txlocaltaxtx2, 0, $price_base_type, $info_bits, 1, '', $localtaxes_type);
$total_ht = $tabprice[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment