2
0
forked from Wavyzz/dolibarr

FIX Accolad

This commit is contained in:
x
2024-04-03 15:19:53 +02:00
parent 81adb15eb0
commit c583102364

View File

@@ -1727,11 +1727,12 @@ class ExtraFields
$translabel = '';
if (!empty($obj->$field_toshow)) {
$translabel = $outputlangs->trans($obj->$field_toshow);
}
if ($translabel != $obj->$field_toshow) {
$value .= dol_trunc($translabel, 24).' ';
} else {
$value .= $obj->$field_toshow.' ';
if ($translabel != $obj->$field_toshow) {
$value .= dol_trunc($translabel, 24) . ' ';
} else {
$value .= $obj->$field_toshow . ' ';
}
}
}
} else {