From feb7af490a8331eabb1f03998655cfc17fc8150b Mon Sep 17 00:00:00 2001 From: lalaina rasamoelina Date: Wed, 5 Jun 2013 10:15:01 +0200 Subject: [PATCH] T943: Put the total of the priceat the bottom of the propal list --- htdocs/comm/propal/list.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 81306b47033..64e18262c78 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -203,7 +203,6 @@ if ($result) { $objectstatic=new Propal($db); $userstatic=new User($db); - $num = $db->num_rows($result); if ($socid) @@ -389,6 +388,15 @@ if ($result) $i++; } + + if ($total>0) + { + $var=!$var; + print ''.$langs->trans("Total HT").''; + print ''.price($total).''; + print ''; + } + print ''; print '';