From 9670228f060f8cb752ff8e7164dc721e2a896385 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sun, 10 Feb 2019 16:00:59 +0100 Subject: [PATCH] update with html5 compliant code --- htdocs/compta/prelevement/card.php | 6 +++--- htdocs/compta/prelevement/create.php | 12 ++++++------ htdocs/compta/prelevement/demandes.php | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/htdocs/compta/prelevement/card.php b/htdocs/compta/prelevement/card.php index 0a66c18a607..d31efcc9df8 100644 --- a/htdocs/compta/prelevement/card.php +++ b/htdocs/compta/prelevement/card.php @@ -344,7 +344,7 @@ if ($id > 0 || $ref) print ''; print_liste_field_titre("Lines", $_SERVER["PHP_SELF"], "pl.rowid", '', $urladd); print_liste_field_titre("ThirdParty", $_SERVER["PHP_SELF"], "s.nom", '', $urladd); - print_liste_field_titre("Amount", $_SERVER["PHP_SELF"], "pl.amount", "", $urladd, 'align="right"'); + print_liste_field_titre("Amount", $_SERVER["PHP_SELF"], "pl.amount", "", $urladd, 'class="right"'); print_liste_field_titre(''); print "\n"; @@ -372,7 +372,7 @@ if ($id > 0 || $ref) print $thirdparty->getNomUrl(1); print "\n"; - print ''.price($obj->amount)."\n"; + print ''.price($obj->amount)."\n"; print ''; @@ -397,7 +397,7 @@ if ($id > 0 || $ref) print ''; print ''.$langs->trans("Total").''; print ' '; - print ''; + print ''; if ($total != $object->amount) print img_warning("AmountOfFileDiffersFromSumOfInvoices"); print price($total); print "\n"; diff --git a/htdocs/compta/prelevement/create.php b/htdocs/compta/prelevement/create.php index c3a4fa8556d..d9298c9f607 100644 --- a/htdocs/compta/prelevement/create.php +++ b/htdocs/compta/prelevement/create.php @@ -234,8 +234,8 @@ if ($resql) print ''.$langs->trans("ThirdParty").''; print ''.$langs->trans("RIB").''; print ''.$langs->trans("RUM").''; - print ''.$langs->trans("AmountTTC").''; - print ''.$langs->trans("DateRequest").''; + print ''.$langs->trans("AmountTTC").''; + print ''.$langs->trans("DateRequest").''; print ''; if ($num) @@ -271,11 +271,11 @@ if ($resql) if ($format) print ' ('.$format.')'; print ''; // Amount - print ''; + print ''; print price($obj->amount, 0, $langs, 0, 0, -1, $conf->currency); print ''; // Date - print ''; + print ''; print dol_print_date($db->jdate($obj->date_demande), 'day'); print ''; print ''; @@ -317,7 +317,7 @@ if ($result) print"\n\n"; print ''; print ''; - print ''; + print ''; print ''; while ($i < min($num,$limit)) @@ -335,7 +335,7 @@ if ($result) print '\n"; - print '\n"; + print '\n"; print "\n"; $i++; diff --git a/htdocs/compta/prelevement/demandes.php b/htdocs/compta/prelevement/demandes.php index d4575ec0e8c..8f9df284291 100644 --- a/htdocs/compta/prelevement/demandes.php +++ b/htdocs/compta/prelevement/demandes.php @@ -110,8 +110,8 @@ if ($resql) print ''; print_liste_field_titre("Bill", $_SERVER["PHP_SELF"]); print_liste_field_titre("Company", $_SERVER["PHP_SELF"]); - print_liste_field_titre("Amount", $_SERVER["PHP_SELF"], "", "", $param, 'align="right"'); - print_liste_field_titre("DateRequest", $_SERVER["PHP_SELF"], "", "", $param, 'align="center"'); + print_liste_field_titre("Amount", $_SERVER["PHP_SELF"], "", "", $param, 'class="right"'); + print_liste_field_titre("DateRequest", $_SERVER["PHP_SELF"], "", "", $param, 'class="center"'); print_liste_field_titre(''); print ''; @@ -121,7 +121,7 @@ if ($resql) print ''; print ''; // Action column - print ''; @@ -148,11 +148,11 @@ if ($resql) print $thirdpartystatic->getNomUrl(1, 'customer'); print ''; - print ''; + print ''; - print ''; + print ''; - print ''; + print ''; print ''; $i++;
'.$langs->trans("Ref").''.$langs->trans("Date").''.$langs->trans("Amount").''.$langs->trans("Date").''.$langs->trans("Amount").'
'.dol_print_date($db->jdate($obj->datec),'day')."'.price($obj->amount,0,$langs,0,0,-1,$conf->currency)."'.price($obj->amount,0,$langs,0,0,-1,$conf->currency)."
'; + print ''; $searchpicto=$form->showFilterAndCheckAddButtons($massactionbutton?1:0, 'checkforselect', 1); print $searchpicto; print ''.price($obj->total_ttc).''.price($obj->total_ttc).''.dol_print_date($db->jdate($obj->date_demande), 'day').''.dol_print_date($db->jdate($obj->date_demande), 'day').'