Fix: total amount

This commit is contained in:
Laurent Destailleur 2011-04-14 23:25:41 +00:00
parent 8c1c301a3d
commit 54a57941a0

View File

@ -191,7 +191,8 @@ foreach ($listofreferent as $key => $value)
if (sizeof($elementarray)>0 && is_array($elementarray))
{
$var=true;
$total = 0;
$total_ht = 0;
$total_ttc = 0;
for ($i = 0; $i<sizeof($elementarray);$i++)
{
$element = new $classname($db);