From 26248656325ee3beaf92760422270233bb52319b Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sun, 10 Feb 2019 10:38:50 +0100 Subject: [PATCH] update with html5 compliant code --- htdocs/compta/localtax/clients.php | 48 +++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/htdocs/compta/localtax/clients.php b/htdocs/compta/localtax/clients.php index 8c6bdb0717b..58b1ccd3f21 100644 --- a/htdocs/compta/localtax/clients.php +++ b/htdocs/compta/localtax/clients.php @@ -157,13 +157,13 @@ $vatsup=$langs->transcountry($local==1?"LT1":"LT2", $mysoc->country_code); // IRPF that the customer has retained me if($calc ==0 || $calc == 2) { - print ""; - print ""; - print '"; - print '"; - print ""; - print ""; - print ""; + print '
'.$langs->trans("Num")."'.$langs->trans("Customer")."".$langs->transcountry("ProfId1", $mysoc->country_code)."".$langs->trans("TotalHT")."".$vatcust."
'; + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; print "\n"; $coll_list = tax_by_thirdparty('localtax'.$local, $db, 0, $date_start, $date_end, $modetax, 'sell'); @@ -208,9 +208,9 @@ if($calc ==0 || $calc == 2) print ''; $find = array(' ','.'); $replace = array('',''); - print '"; - print ""; - print ""; + print ''; + print ''; + print ''; $totalamount = $totalamount + $coll->amount; $total = $total + ($local==1?$coll->localtax1:$coll->localtax2); print "\n"; @@ -219,9 +219,9 @@ if($calc ==0 || $calc == 2) } $x_coll_sum = $total; - print ''; - print ''; - print ''; + print ''; + print ''; + print ''; print ''; } else @@ -238,13 +238,13 @@ if($calc ==0 || $calc == 2) // IRPF I retained my supplier if($calc ==0 || $calc == 1){ - print "
'.$langs->trans("Num").''.$langs->trans("Customer").''.$langs->transcountry("ProfId1", $mysoc->country_code).''.$langs->trans("TotalHT").''.$vatcust.'
'.$company_static->getNomUrl(1).''.$intra."".price($coll->amount)."".price($local==1?$coll->localtax1:$coll->localtax2)."'.$intra.''.price($coll->amount).''.price($local==1?$coll->localtax1:$coll->localtax2).'
'.$langs->trans("Total").':'.price($totalamount).''.price($total).'
'.$langs->trans("Total").':'.price($totalamount).''.price($total).'
"; - print ""; + print '
'; + print ''; print '"; print '"; - print ""; - print ""; - print ""; + print ''; + print ''; + print ''; print "\n"; $company_static=new Societe($db); @@ -283,8 +283,8 @@ if($calc ==0 || $calc == 1){ $find = array(' ','.'); $replace = array('',''); print '"; - print ""; - print ""; + print ''; + print ''; $totalamount = $totalamount + $coll->amount; $total = $total + ($local==1?$coll->localtax1:$coll->localtax2); print "\n"; @@ -293,9 +293,9 @@ if($calc ==0 || $calc == 1){ } $x_paye_sum = $total; - print ''; - print ''; - print ''; + print ''; + print ''; + print ''; print ''; print '
'.$langs->trans("Num")."'.$langs->trans("Supplier")."".$langs->transcountry("ProfId1", $mysoc->country_code)."".$langs->trans("TotalHT")."".$vatsup."'.$langs->transcountry("ProfId1", $mysoc->country_code).''.$langs->trans("TotalHT").''.$vatsup.'
'.$intra."".price($coll->amount)."".price($local==1?$coll->localtax1:$coll->localtax2)."'.price($coll->amount).''.price($local==1?$coll->localtax1:$coll->localtax2).'
'.$langs->trans("Total").':'.price($totalamount).''.price($total).'
'.$langs->trans("Total").':'.price($totalamount).''.price($total).'
'; @@ -319,7 +319,7 @@ if($calc ==0){ $diff = $x_coll_sum - $x_paye_sum ; print ''; print ''.$langs->trans("TotalToPay").($q?', '.$langs->trans("Quadri").' '.$q:'').''; - print ''.price(price2num($diff, 'MT'))."\n"; + print ''.price(price2num($diff, 'MT'))."\n"; print "\n"; } print '';