Skip to content

Commit

Permalink
Fix: total amount
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Apr 14, 2011
1 parent 8c1c301 commit 54a5794
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/projet/element.php
Expand Up @@ -191,7 +191,8 @@
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);
Expand Down

0 comments on commit 54a5794

Please sign in to comment.