diff --git a/htdocs/compta/localtax/index.php b/htdocs/compta/localtax/index.php index 403737ce083..8d288274049 100644 --- a/htdocs/compta/localtax/index.php +++ b/htdocs/compta/localtax/index.php @@ -101,8 +101,8 @@ function pt($db, $sql, $date) print '
| '.$langs->trans("Year")." ".$y." | "; if($CalcLT==0) { - print "".$langs->transcountry($LTCustomer, $mysoc->country_code)." | "; - print "".$langs->transcountry($LTSupplier, $mysoc->country_code)." | "; + print ''.$langs->transcountry($LTCustomer, $mysoc->country_code).' | '; + print ''.$langs->transcountry($LTSupplier, $mysoc->country_code).' | '; } if($CalcLT==1) { - print "".$langs->transcountry($LTSupplier, $mysoc->country_code)." | "; + print ' | '.$langs->transcountry($LTSupplier, $mysoc->country_code).' | '; } if($CalcLT==2) { - print " | ".$langs->transcountry($LTCustomer, $mysoc->country_code)." | "; + print ' | '.$langs->transcountry($LTCustomer, $mysoc->country_code).' | '; } -print " | ".$langs->trans("TotalToPay")." | "; +print ''.$langs->trans("TotalToPay").' | '; print "\n"; print " | ".price(price2num($x_coll_sum, 'MT'))." | "; + print ''.price(price2num($x_coll_sum, 'MT')).' | '; $x_paye_sum = 0; foreach (array_keys($x_paye) as $rate) @@ -519,7 +519,7 @@ while ((($y < $yend) || ($y == $yend && $m <= $mend)) && $mcursor < 1000) // $mc $x_paye_sum += $temp_vat; } } - print "".price(price2num($x_paye_sum, 'MT'))." | "; + print ''.price(price2num($x_paye_sum, 'MT')).' | '; $subtotalcoll = $subtotalcoll + $x_coll_sum; $subtotalpaye = $subtotalpaye + $x_paye_sum; @@ -528,7 +528,7 @@ while ((($y < $yend) || ($y == $yend && $m <= $mend)) && $mcursor < 1000) // $mc $total = $total + $diff; $subtotal = price2num($subtotal + $diff, 'MT'); - print "".price(price2num($diff, 'MT'))." | \n"; + print ''.price(price2num($diff, 'MT')).' | \n'; print "\n"; print "\n"; @@ -536,16 +536,16 @@ while ((($y < $yend) || ($y == $yend && $m <= $mend)) && $mcursor < 1000) // $mc if ($i > 2) { print ' |
| '.$langs->trans("SubTotal").': | '; - print ''.price(price2num($subtotalcoll, 'MT')).' | '; - print ''.price(price2num($subtotalpaye, 'MT')).' | '; - print ''.price(price2num($subtotal, 'MT')).' | '; + print ''.$langs->trans("SubTotal").': | '; + print ''.price(price2num($subtotalcoll, 'MT')).' | '; + print ''.price(price2num($subtotalpaye, 'MT')).' | '; + print ''.price(price2num($subtotal, 'MT')).' | '; print '||||||||
| '.$langs->trans("TotalToPay").': | '.price(price2num($total, 'MT')).' | '; +print '||||||||||||||
| '.$langs->trans("TotalToPay").': | '.price(price2num($total, 'MT')).' | '; print "\n"; print ' | |||||||||||||