diff --git a/htdocs/product/stock/list.php b/htdocs/product/stock/list.php index b6291958144..3201bb5f507 100644 --- a/htdocs/product/stock/list.php +++ b/htdocs/product/stock/list.php @@ -659,6 +659,9 @@ while ($i < $imaxinloop) { print ''; } print ''; + if (!$i) { + $totalarray['nbfield']++; + } } foreach ($warehouse->fields as $key => $val) { if ($key == 'statut') { @@ -717,7 +720,7 @@ while ($i < $imaxinloop) { // Stock qty if (!empty($arrayfields["stockqty"]['checked'])) { - print '