From 416e37571a64cf5401d59d524e994df2bf60cb8e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Apr 2011 23:24:34 +0000 Subject: [PATCH] Fix: total amount --- htdocs/projet/element.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php index 8c70127a352..8b984fed7e6 100644 --- a/htdocs/projet/element.php +++ b/htdocs/projet/element.php @@ -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