From 51228580d510fc6e292c44122f1b9fe0d975b30c Mon Sep 17 00:00:00 2001 From: Aram HARUTYUNYAN Date: Fri, 4 Apr 2014 10:45:47 +0000 Subject: [PATCH] Issue #0001919: [Liens inter-entreprises] verifier la date de naissance avant de l'afficher --- .../views/default/scripts/identite/lienfiche.phtml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/application/views/default/scripts/identite/lienfiche.phtml b/application/views/default/scripts/identite/lienfiche.phtml index f97d1d344..a66a60dc6 100644 --- a/application/views/default/scripts/identite/lienfiche.phtml +++ b/application/views/default/scripts/identite/lienfiche.phtml @@ -1,16 +1,19 @@
result->PpPm == 'PP') {?> + result->civilite)) {?> result->civilite?>  result->nom)) {?> - result->nom?>  + result->nom?>  + result->prenom)) {?> result->prenom?>  result->nomUsage)) {?> (result->nomUsage?>)  +
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'):'' ); ?>
Lancer une recherche dirigeant