From e7f2b92ecae55c8517ba531654f364c1761edc8d Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sun, 10 Feb 2019 10:49:42 +0100 Subject: [PATCH] update with html5 compliant code --- htdocs/compta/localtax/index.php | 48 ++++++++++++++++---------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/htdocs/compta/localtax/index.php b/htdocs/compta/localtax/index.php index 403737ce083a3..8d28827404901 100644 --- a/htdocs/compta/localtax/index.php +++ b/htdocs/compta/localtax/index.php @@ -101,8 +101,8 @@ function pt($db, $sql, $date) print ''; print ''.$date.''; - print ''.$langs->trans("ClaimedForThisPeriod").''; - print ''.$langs->trans("PaidDuringThisPeriod").''; + print ''.$langs->trans("ClaimedForThisPeriod").''; + print ''.$langs->trans("PaidDuringThisPeriod").''; print "\n"; $totalclaimed = 0; @@ -122,8 +122,8 @@ function pt($db, $sql, $date) { print ''; print ''.$previousmonth."\n"; - print ''.price($amountclaimed)."\n"; - print ''.price($amountpaid)."\n"; + print ''.price($amountclaimed)."\n"; + print ''.price($amountpaid)."\n"; print "\n"; $amountclaimed = 0; @@ -145,8 +145,8 @@ function pt($db, $sql, $date) { print ''; print ''.$obj->dm."\n"; - print ''.price($amountclaimed)."\n"; - print ''.price($amountpaid)."\n"; + print ''.price($amountclaimed)."\n"; + print ''.price($amountpaid)."\n"; print "\n"; $amountclaimed = 0; $amountpaid = 0; @@ -166,8 +166,8 @@ function pt($db, $sql, $date) { print ''; print ''.$previousmonth."\n"; - print ''.price($amountclaimed)."\n"; - print ''.price($amountpaid)."\n"; + print ''.price($amountclaimed)."\n"; + print ''.price($amountpaid)."\n"; print "\n"; $amountclaimed = 0; @@ -175,9 +175,9 @@ function pt($db, $sql, $date) } print ''; - print ''.$langs->trans("Total").''; - print ''.price($totalclaimed).''; - print ''.price($totalpaid).''; + print ''.$langs->trans("Total").''; + print ''.price($totalclaimed).''; + print ''.price($totalpaid).''; print ""; print ""; @@ -249,16 +249,16 @@ function pt($db, $sql, $date) print ''; 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 "\n"; @@ -475,7 +475,7 @@ function pt($db, $sql, $date) $x_coll_sum += $temp_vat; } } - 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 @@ function pt($db, $sql, $date) $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 @@ function pt($db, $sql, $date) $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 @@ function pt($db, $sql, $date) if ($i > 2) { print ''; - 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 ' '; $i = 0; $subtotalcoll=0; $subtotalpaye=0; $subtotal=0; } } -print ''.$langs->trans("TotalToPay").':'.price(price2num($total, 'MT')).''; +print ''.$langs->trans("TotalToPay").':'.price(price2num($total, 'MT')).''; print " \n"; print '';