issue #0001766 : Ne pas afficher les éléments d'informations pour les id < 1000
This commit is contained in:
parent
d780f5630a
commit
da96a9e4f4
@ -63,6 +63,8 @@ $('a.dialogFiche').on('click', function(e){
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( $this->result->id>=1000 ) {?>
|
||||
|
||||
<div><b>Coordonnées : </b></div>
|
||||
<div><?=($this->result->adresseNum==0) ? '' : $this->result->adresseNum . ' ' .
|
||||
$this->result->adresseBtq. ' ' . $this->result->adresseCodeVoie. ' ' .
|
||||
@ -83,22 +85,26 @@ else
|
||||
<?=$this->result->isin;?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if (count($this->result->identification->item)>0) {?>
|
||||
<div><b>Identifiants nationaux</b></div>
|
||||
<?php foreach ($this->result->identification->item as $id) {?>
|
||||
<div><?=$id->label?> - <?=$id->num?></div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->result->PpPm == 'PP') {
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$this->result->nom,
|
||||
'dirPrenom'=>$this->result->prenom,
|
||||
'dirDateNaissJJ' =>$date->get('dd'),
|
||||
'dirDateNaissMM' =>$date->get('MM'),
|
||||
'dirDateNaissAAAA' =>$date->get('YYYY')
|
||||
'dirDateNaissJJ'=>$date->get('dd'),
|
||||
'dirDateNaissMM'=>$date->get('MM'),
|
||||
'dirDateNaissAAAA'=>$date->get('YYYY')
|
||||
);
|
||||
?>
|
||||
<br/><a href="<?=$this->url($param,null,true);?>">Lancer une recherche dirigeant</a>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php }?>
|
Loading…
Reference in New Issue
Block a user