Skip to content
Snippets Groups Projects
Commit b31fd917 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Always show email field into popup of contact

parent c197ce31
Branches
Tags
No related merge requests found
...@@ -915,7 +915,7 @@ class Contact extends CommonObject ...@@ -915,7 +915,7 @@ class Contact extends CommonObject
$label.= '<br><b>' . $langs->trans("Name") . ':</b> '.$this->getFullName($langs); $label.= '<br><b>' . $langs->trans("Name") . ':</b> '.$this->getFullName($langs);
//if ($this->civility_id) $label.= '<br><b>' . $langs->trans("Civility") . ':</b> '.$this->civility_id; // TODO Translate cibilty_id code //if ($this->civility_id) $label.= '<br><b>' . $langs->trans("Civility") . ':</b> '.$this->civility_id; // TODO Translate cibilty_id code
if (! empty($this->poste)) $label.= '<br><b>' . $langs->trans("Poste") . ':</b> '.$this->poste; if (! empty($this->poste)) $label.= '<br><b>' . $langs->trans("Poste") . ':</b> '.$this->poste;
if (! empty($this->email)) $label.= '<br><b>' . $langs->trans("EMail") . ':</b> '.$this->email; $label.= '<br><b>' . $langs->trans("EMail") . ':</b> '.$this->email;
$phonelist=array(); $phonelist=array();
if ($this->phone_pro) $phonelist[]=$this->phone_pro; if ($this->phone_pro) $phonelist[]=$this->phone_pro;
if ($this->phone_mobile) $phonelist[]=$this->phone_mobile; if ($this->phone_mobile) $phonelist[]=$this->phone_mobile;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment