Update societe.class.php
This commit is contained in:
parent
334f37052c
commit
1093e66d26
@ -2560,6 +2560,7 @@ class Societe extends CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$label .= '<br><b>'.$langs->trans('Email').':</b> '.$this->email;
|
$label .= '<br><b>'.$langs->trans('Email').':</b> '.$this->email;
|
||||||
|
if (!empty($this->phone) || !empty($this->fax)) {
|
||||||
$phonelist = array();
|
$phonelist = array();
|
||||||
if ($this->phone) {
|
if ($this->phone) {
|
||||||
$phonelist[] = dol_print_phone($this->phone, $this->country_code, $this->id, 0, '', ' ', 'phone');
|
$phonelist[] = dol_print_phone($this->phone, $this->country_code, $this->id, 0, '', ' ', 'phone');
|
||||||
@ -2568,6 +2569,7 @@ class Societe extends CommonObject
|
|||||||
$phonelist[] = dol_print_phone($this->fax, $this->country_code, $this->id, 0, '', ' ', 'fax');
|
$phonelist[] = dol_print_phone($this->fax, $this->country_code, $this->id, 0, '', ' ', 'fax');
|
||||||
}
|
}
|
||||||
$label .= '<br><b>'.$langs->trans('Phone').':</b> '.implode(' ', $phonelist);
|
$label .= '<br><b>'.$langs->trans('Phone').':</b> '.implode(' ', $phonelist);
|
||||||
|
}
|
||||||
if (!empty($this->address)) {
|
if (!empty($this->address)) {
|
||||||
$label .= '<br><b>'.$langs->trans("Address").':</b> '.dol_format_address($this, 1, ' ', $langs);
|
$label .= '<br><b>'.$langs->trans("Address").':</b> '.dol_format_address($this, 1, ' ', $langs);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user