diff --git a/htdocs/salaries/list.php b/htdocs/salaries/list.php index 639879f8e17..e0efb53915b 100644 --- a/htdocs/salaries/list.php +++ b/htdocs/salaries/list.php @@ -403,10 +403,10 @@ print '
| '; -print ''; +print ''; print ' | '; // Label -print ''; +print ' | '; // Date start print ' | '; @@ -435,13 +435,13 @@ print ' | '; // Type print ''; -print $form->select_types_paiements($search_type_id, 'search_type_id', '', 0, 1, 1, 16, 1, '', 1); +print $form->select_types_paiements($search_type_id, 'search_type_id', '', 0, 1, 1, 16, 1, 'maxwidth125', 1); print ' | '; // Bank account if (isModEnabled("banque")) { print ''; - $form->select_comptes($search_account, 'search_account', 0, '', 1); + print $form->select_comptes($search_account, 'search_account', 0, '', 1, '', 0, 'maxwidth125', 1); print ' | '; } @@ -546,7 +546,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) { } // Label payment - print "".dol_trunc($obj->label, 40)." | \n"; + print ''.dol_escape_htmltag($obj->label)." | \n"; if (!$i) { $totalarray['nbfield']++; } @@ -564,7 +564,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) { } // Employee - print "".$userstatic->getNomUrl(1)." | \n"; + print ''.$userstatic->getNomUrl(1)." | \n"; if (!$i) { $totalarray['nbfield']++; }