diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index c196f0a8296..dadc25737b6 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -1059,7 +1059,6 @@ if ($resql) if (! $i) $totalarray['nbfield']++; if (! $i) $totalarray['pos'][$totalarray['nbfield']]='c.total_ht'; $totalarray['val']['c.total_ht'] += $obj->total_ht; - } // Amount VAT if (! empty($arrayfields['c.total_vat']['checked'])) diff --git a/htdocs/supplier_proposal/list.php b/htdocs/supplier_proposal/list.php index 2afadd8857a..2b8f4038bfc 100644 --- a/htdocs/supplier_proposal/list.php +++ b/htdocs/supplier_proposal/list.php @@ -751,7 +751,6 @@ if ($resql) if (! $i) $totalarray['nbfield']++; if (! $i) $totalarray['pos'][$totalarray['nbfield']]='sp.total_ht'; $totalarray['val']['sp.total_ht'] += $obj->total_ht; - } // Amount VAT if (! empty($arrayfields['sp.total_vat']['checked']))