diff --git a/htdocs/compta/tva/clients.php b/htdocs/compta/tva/clients.php index 7bc35607ee6..d9644d5ca23 100644 --- a/htdocs/compta/tva/clients.php +++ b/htdocs/compta/tva/clients.php @@ -378,9 +378,7 @@ if (! is_array($x_coll) || ! is_array($x_paye)) $subtot_coll_vat = 0; if ($min == 0 || ($min > 0 && $x_both[$thirdparty_id]['coll']['totalht'] > $min)) { - if (is_array($x_both[$thirdparty_id]['coll']['detail'])) { - // VAT Rate print ""; print ''; @@ -513,8 +511,8 @@ if (! is_array($x_coll) || ! is_array($x_paye)) $subtot_coll_vat += $temp_vat; $x_coll_sum += $temp_vat; } - } + // Total customers for this vat rate print ''; print '';