diff --git a/htdocs/compta/tva/index.php b/htdocs/compta/tva/index.php index 7e02b159d21..a7fe5c5eb43 100644 --- a/htdocs/compta/tva/index.php +++ b/htdocs/compta/tva/index.php @@ -140,10 +140,9 @@ for ($y = $year_current ; $y >= $year_start ; $y=$y-1 ) { print ""; print ""; print ""; - print ""; print ""; - print "\n"; - print "\n"; + print ""; + print ""; print "\n"; $var=True; $total = 0; $subtotal = 0; @@ -164,17 +163,16 @@ for ($y = $year_current ; $y >= $year_start ; $y=$y-1 ) { $subtotal = $subtotal + $diff; print "\n"; - print "\n"; print "\n"; $i++; if ($i > 2) { - print ''; + print ''; $i = 0; $subtotal = 0; } } - print ''; + print ''; print "\n"; print "
".$langs->trans("Year")." $y".$langs->trans("VATToCollect")."".$langs->trans("VATToPay")."  ".$langs->trans("VATToCollect")."".$langs->trans("VATToCollect")."
".price($diff)." 
'.$langs->trans("SubTotal").':'.price($subtotal).''.price($subtotal * 0.8).'
'.$langs->trans("SubTotal").':'.price($subtotal).'
'.$langs->trans("Total").':'.price($total).'
'.$langs->trans("TotalToPay").':'.price($total).' 
";