From fde23632ce62c1d49020ddd378002f35ca646eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 24 Jun 2021 20:20:50 +0200 Subject: [PATCH] Update list.php --- htdocs/comm/propal/list.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 6041fb0681b..55408c95626 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -1322,6 +1322,11 @@ if ($resql) { $now = dol_now(); $i = 0; $totalarray = array(); + $totalarray['nbfield'] = 0; + $totalarray['val'] = array(); + $totalarray['val']['p.total_ht'] = 0; + $totalarray['val']['p.total_tva'] = 0; + $totalarray['val']['p.total_ttc'] = 0; $typenArray = null; while ($i < min($num, $limit)) {