mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -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>';
|
||||
|
||||
@@ -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']++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user