From 3aff05382825a94ab47e5e25738bbaeb940a5cdb Mon Sep 17 00:00:00 2001
From: BENKE Charlie <charles.fr@benke.fr>
Date: Fri, 24 Mar 2017 23:40:34 +0100
Subject: [PATCH] Update list.php

---
 htdocs/commande/list.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php
index f92836599de..f4fc3b76745 100644
--- a/htdocs/commande/list.php
+++ b/htdocs/commande/list.php
@@ -1393,7 +1393,12 @@ if ($resql)
 	}
 
 	// Show total line
-	if (isset($totalarray['totalhtfield']))
+    	if (isset($totalarray['totalhtfield'])
+ 	   || isset($totalarray['totalvatfield'])
+ 	   || isset($totalarray['totalttcfield'])
+ 	   || isset($totalarray['totalamfield'])
+ 	   || isset($totalarray['totalrtpfield'])
+ 	   )
 	{
 	    print '<tr class="liste_total">';
 	    $i=0;
-- 
GitLab