From 851dbeec0d054b7a4b4d8ba3f7141f64532a7bfc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 8 May 2005 20:14:04 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Les=20collones=20TVA=20=E0=20payer=20et?= =?UTF-8?q?=20=E0=20r=E9cup=E9rer=20sont=20invers=E9es.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/tva/index.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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).' 
";