Removed not used var

This commit is contained in:
Laurent Destailleur 2019-06-20 04:10:58 +02:00
parent 77a45b878b
commit d15a300f02

View File

@ -1295,7 +1295,6 @@ if (empty($reshook))
$TTotalByTva[$line->tva_tx] += $line->total_ttc ; $TTotalByTva[$line->tva_tx] += $line->total_ttc ;
} }
$amount_to_diff = 0;
foreach ($TTotalByTva as $tva => &$total) foreach ($TTotalByTva as $tva => &$total)
{ {
$coef = $total / $srcobject->total_ttc; // Calc coef $coef = $total / $srcobject->total_ttc; // Calc coef