fix establishment object UI display

This commit is contained in:
Christian Foellmann 2022-07-12 13:27:40 +02:00
parent 9d249bd56d
commit 535f5e56e8

View File

@ -445,6 +445,9 @@ class Establishment extends CommonObject
$label .= '<br>';
$label .= '<b>'.$langs->trans('Ref').':</b> '.$this->ref;
$label .= '<br>';
$label .= '<b>'.$langs->trans('Residence').':</b> '.$this->address.', '.$this->zip.' '.$this->town;
$url = DOL_URL_ROOT.'/hrm/establishment/card.php?id='.$this->id;
if ($option != 'nolink') {
@ -489,7 +492,7 @@ class Establishment extends CommonObject
}
if ($withpicto != 2) {
$result .= $this->ref;
$result .= $this->label;
}
$result .= $linkend;