This commit is contained in:
Laurent Destailleur 2022-05-14 07:51:48 +02:00
parent 6106d54632
commit 1ba8bc9147

View File

@ -1466,7 +1466,7 @@ while ($i < min($num, $limit)) {
} }
// Address // Address
if (!empty($arrayfields['s.address']['checked'])) { if (!empty($arrayfields['s.address']['checked'])) {
print '<td>'.dol_escape_htmltag($obj->address).'</td>'; print '<td class="tdoverflowmax250" title="'.dol_escape_htmltag($obj->address).'">'.dol_escape_htmltag($obj->address).'</td>';
if (!$i) { if (!$i) {
$totalarray['nbfield']++; $totalarray['nbfield']++;
} }
@ -1673,7 +1673,7 @@ while ($i < min($num, $limit)) {
print $hookmanager->resPrint; print $hookmanager->resPrint;
// Date creation // Date creation
if (!empty($arrayfields['s.datec']['checked'])) { if (!empty($arrayfields['s.datec']['checked'])) {
print '<td class="center nowrap">'; print '<td class="center nowraponall">';
print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser'); print dol_print_date($db->jdate($obj->date_creation), 'dayhour', 'tzuser');
print '</td>'; print '</td>';
if (!$i) { if (!$i) {
@ -1682,7 +1682,7 @@ while ($i < min($num, $limit)) {
} }
// Date modification // Date modification
if (!empty($arrayfields['s.tms']['checked'])) { if (!empty($arrayfields['s.tms']['checked'])) {
print '<td class="center nowrap">'; print '<td class="center nowraponall">';
print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser'); print dol_print_date($db->jdate($obj->date_update), 'dayhour', 'tzuser');
print '</td>'; print '</td>';
if (!$i) { if (!$i) {
@ -1691,7 +1691,7 @@ while ($i < min($num, $limit)) {
} }
// Status // Status
if (!empty($arrayfields['s.status']['checked'])) { if (!empty($arrayfields['s.status']['checked'])) {
print '<td class="center nowrap">'.$companystatic->getLibStatut(5).'</td>'; print '<td class="center nowraponall">'.$companystatic->getLibStatut(5).'</td>';
if (!$i) { if (!$i) {
$totalarray['nbfield']++; $totalarray['nbfield']++;
} }