Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
ldestailleur
2025-08-11 12:29:20 +02:00
2 changed files with 7 additions and 3 deletions

View File

@@ -558,6 +558,7 @@ if ($resql) {
if (isModEnabled("service") && $type == 1) {
print '<td class="center">';
$regs = array();
if (preg_match('/([0-9]+)y/i', $objp->duration, $regs)) {
print $regs[1].' '.$langs->trans("DurationYear");
} elseif (preg_match('/([0-9]+)m/i', $objp->duration, $regs)) {
@@ -638,6 +639,9 @@ if ($resql) {
print "</tr>\n";
$i++;
}
if ($num == 0) {
print '<tr><td colspan="">'.$langs->trans("None").'</td></tr>';
}
print "</table>";
print '</div>';

View File

@@ -466,7 +466,7 @@ while ($i < $imaxinloop) {
}
}
print '<td class="tdoverflowmax125">';
print '<td class="tdoverflowmax200">';
print $object->getNomUrl(1);
if (isModEnabled('multicompany') && !$obj->entity) {
print img_picto($langs->trans("GlobalGroup"), 'redstar');
@@ -493,11 +493,11 @@ while ($i < $imaxinloop) {
if (!$i) {
$totalarray['nbfield']++;
}
print '<td class="center nowrap">'.dol_print_date($db->jdate($obj->datec), "dayhour").'</td>';
print '<td class="center nowraponall">'.dol_print_date($db->jdate($obj->datec), "dayhour").'</td>';
if (!$i) {
$totalarray['nbfield']++;
}
print '<td class="center nowrap">'.dol_print_date($db->jdate($obj->tms), "dayhour").'</td>';
print '<td class="center nowraponall">'.dol_print_date($db->jdate($obj->tms), "dayhour").'</td>';
if (!$i) {
$totalarray['nbfield']++;
}