This commit is contained in:
ldestailleur 2025-04-02 19:51:20 +02:00
parent 4cd556730f
commit 00fe16ddfe

View file

@ -2636,9 +2636,12 @@ if ($id > 0) {
if ($value == 'public') {
$class .= ' center';
}
if (in_array($value, array('localtax1_type', 'localtax2_type', 'note', 'note_public', 'note_private'))) {
$class .= ' small';
}
// Show value for field
if ($showfield) {
print '<!-- '. $value .' --><td class="'.$class.'"'.($titletoshow ? ' title="'.dolPrintHTMLForAttribute($titletoshow).'"' : '').'>'.$valuetoshow.'</td>';
print '<!-- field value '. $value .' --><td class="'.$class.'"'.($titletoshow ? ' title="'.dolPrintHTMLForAttribute($titletoshow).'"' : '').'>'.$valuetoshow.'</td>';
}
}