issue #0001776 : Redraw display of address
This commit is contained in:
parent
057a4300c0
commit
b460422a37
@ -665,19 +665,14 @@ class RechercheController extends Zend_Controller_Action
|
||||
|
||||
$item['InfoEtab'] = $infoEtab;
|
||||
|
||||
$adresse = $etab->Adresse.'<br/>';
|
||||
$adresse = $etab->Adresse;
|
||||
if (isset($etab->Adresse2) && $etab->Adresse2 != '') {
|
||||
$adresse.= $etab->Adresse2.'<br/>';
|
||||
$adresse.= '<br/>'.$etab->Adresse2;
|
||||
}
|
||||
$adresse.= '<b>';
|
||||
if ( intval($etab->CP) > 0) {
|
||||
$adresse.= $etab->CP." ";
|
||||
if ( !empty($etab->Ville) && intval($etab->CP) > 0) {
|
||||
$adresse.= '<br/><b>'.$etab->CP." ".$adresse.= $etab->Ville."</b>";
|
||||
}
|
||||
$adresse.= $etab->Ville."</b>";
|
||||
|
||||
if (null === $etab->Pays) {
|
||||
$adresse.= '<br/><b>France</b>';
|
||||
} else {
|
||||
if (null !== $etab->Pays) {
|
||||
$adresse.= '<br/><b>'.$etab->Pays.'</b>';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user