Merge pull request #11658 from frederic34/patch-14

Update societe.class.php
This commit is contained in:
Laurent Destailleur 2019-08-09 23:45:19 +02:00 committed by GitHub
commit 617d4c875d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2167,8 +2167,8 @@ class Societe extends CommonObject
{
$label.= '<br><b>' . $langs->trans('Name') . ':</b> '. $this->name;
if (! empty($this->name_alias)) $label.=' ('.$this->name_alias.')';
$label.= '<br><b>' . $langs->trans('Email') . ':</b> '. $this->email;
}
$label.= '<br><b>' . $langs->trans('Email') . ':</b> '. $this->email;
if (! empty($this->country_code))
$label.= '<br><b>' . $langs->trans('Country') . ':</b> '. $this->country_code;
if (! empty($this->tva_intra) || (! empty($conf->global->SOCIETE_SHOW_FIELD_IN_TOOLTIP) && strpos($conf->global->SOCIETE_SHOW_FIELD_IN_TOOLTIP, 'vatnumber') !== false))