fix establishment object UI display
This commit is contained in:
parent
9d249bd56d
commit
535f5e56e8
@ -445,6 +445,9 @@ class Establishment extends CommonObject
|
|||||||
$label .= '<br>';
|
$label .= '<br>';
|
||||||
$label .= '<b>'.$langs->trans('Ref').':</b> '.$this->ref;
|
$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;
|
$url = DOL_URL_ROOT.'/hrm/establishment/card.php?id='.$this->id;
|
||||||
|
|
||||||
if ($option != 'nolink') {
|
if ($option != 'nolink') {
|
||||||
@ -489,7 +492,7 @@ class Establishment extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($withpicto != 2) {
|
if ($withpicto != 2) {
|
||||||
$result .= $this->ref;
|
$result .= $this->label;
|
||||||
}
|
}
|
||||||
|
|
||||||
$result .= $linkend;
|
$result .= $linkend;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user