issue #0001778 : Affichage des adresses étrangères

This commit is contained in:
Michael RICOIS 2013-11-12 15:24:03 +00:00
parent 15038e6b8c
commit ceba256786

View File

@ -594,9 +594,11 @@ class IdentiteEntreprise
if (!empty($this->identite->Adresse2)) {
$data.= '<span>'.$this->identite->Adresse2.'</span>';
}
$data.= '<span>';
if (intval($this->identite->CP)!=0) {
$data.= '<span>'.$this->identite->CP.'&nbsp;'.$this->identite->Ville.'</span>';
$data.= $this->identite->CP.'&nbsp;';
}
$data.= $this->identite->Ville.'</span>';
if ($this->identite->Pays!='' && strtoupper(substr($this->identite->Pays,0,3))!='FRA'){
$data.= '<span>'.$this->identite->Pays.'</span>';
}