Update societe.class.php

This commit is contained in:
Laurent Destailleur 2019-08-09 23:45:06 +02:00 committed by GitHub
parent 372eddf0c6
commit d245ca371e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2168,9 +2168,7 @@ class Societe extends CommonObject
$label.= '<br><b>' . $langs->trans('Name') . ':</b> '. $this->name;
if (! empty($this->name_alias)) $label.=' ('.$this->name_alias.')';
}
if (! empty($this->email)) {
$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))