Issue #0001919: [Liens inter-entreprises] verifier la date de naissance avant de l'afficher
This commit is contained in:
parent
7dd7e2f6ec
commit
51228580d5
@ -1,16 +1,19 @@
|
||||
<div>
|
||||
<?php if ($this->result->PpPm == 'PP') {?>
|
||||
<strong>
|
||||
<?php if (!empty($this->result->civilite)) {?>
|
||||
<?=$this->result->civilite?>
|
||||
<?php }?>
|
||||
<?php if (!empty($this->result->nom)) {?>
|
||||
<?=$this->result->nom?> <?php }?>
|
||||
<?=$this->result->nom?>
|
||||
<?php }?>
|
||||
<?php if (!empty($this->result->prenom)) {?>
|
||||
<?=$this->result->prenom?>
|
||||
<?php }?>
|
||||
<?php if (!empty($this->result->nomUsage)) {?>
|
||||
(<?=$this->result->nomUsage?>)
|
||||
<?php }?>
|
||||
</strong><br/>
|
||||
<?php
|
||||
$message = '';
|
||||
if (!empty($this->result->naissanceDate) && $this->result->naissanceDate!='0000-00-00') {
|
||||
@ -108,9 +111,9 @@ else
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$this->result->nom,
|
||||
'dirPrenom'=>$this->result->prenom,
|
||||
'dirDateNaissJJ'=>$date->get('dd'),
|
||||
'dirDateNaissMM'=>$date->get('MM'),
|
||||
'dirDateNaissAAAA'=>$date->get('YYYY')
|
||||
'dirDateNaissJJ'=>$date?$date->get('dd'):'',
|
||||
'dirDateNaissMM'=>$date?$date->get('MM'):'',
|
||||
'dirDateNaissAAAA'=>$date?$date->get('YYYY'):''
|
||||
);
|
||||
?>
|
||||
<br/><a href="<?=$this->url($param,null,true);?>">Lancer une recherche dirigeant</a>
|
||||
|
Loading…
Reference in New Issue
Block a user