CSS popup company

This commit is contained in:
Laurent Destailleur 2021-09-29 16:42:52 +02:00
parent 34dacca77c
commit 1d35d8fd2d

View File

@ -2575,13 +2575,13 @@ class Societe extends CommonObject
$label .= ' '.$this->getLibStatut(5); $label .= ' '.$this->getLibStatut(5);
} }
if (!empty($this->name)) { $label .= '<br><b>'.$langs->trans('Name').':</b> '.dol_escape_htmltag($this->name);
$label .= '<br><b>'.$langs->trans('Name').':</b> '.dol_escape_htmltag($this->name); if (!empty($this->name_alias)) {
if (!empty($this->name_alias)) { $label .= ' ('.dol_escape_htmltag($this->name_alias).')';
$label .= ' ('.dol_escape_htmltag($this->name_alias).')'; }
} if ($this->email) {
$label .= '<br>'.img_picto('', 'email', 'class="pictofixedwidth"').$this->email;
} }
$label .= '<br>'.img_picto('', 'email', 'class="pictofixedwidth"').$this->email;
if (!empty($this->phone) || !empty($this->fax)) { if (!empty($this->phone) || !empty($this->fax)) {
$phonelist = array(); $phonelist = array();
if ($this->phone) { if ($this->phone) {