From f990ca17fba83a059aca8e12a7ffebdcd2bf4da3 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Sat, 29 Mar 2014 08:46:57 +0000 Subject: [PATCH] =?UTF-8?q?issue=20#0001766=20:=20Ne=20pas=20afficher=20le?= =?UTF-8?q?s=20=C3=A9l=C3=A9ments=20d'informations=20pour=20les=20id=20getLienRef($id); Zend_Registry::get('firebug')->info($result); $this->view->assign('result', $result); + + $this->view->assign('idFiche', $id); } /** diff --git a/application/views/default/scripts/identite/lienfiche.phtml b/application/views/default/scripts/identite/lienfiche.phtml index 2f04fa6c3..f97d1d344 100644 --- a/application/views/default/scripts/identite/lienfiche.phtml +++ b/application/views/default/scripts/identite/lienfiche.phtml @@ -1,7 +1,7 @@
result->PpPm == 'PP') {?> result->civilite)) {?> - result->civilite?>  + result->civilite?>  result->nom)) {?> result->nom?>  @@ -17,11 +17,11 @@ $date = new Zend_Date($this->result->naissanceDate, 'yyyy-MM-dd'); $message = $message.' '.$this->translate("le").' '.$date->toString('dd/MM/yyyy'); } - + if (!empty($this->result->naissanceLieu) || !empty($this->result->naissanceDeptPays)) { $message = $message.' '.$this->translate("à").' '.$this->result->naissanceLieu.' '.$this->result->naissanceDeptPays; - } - + } + if ($message!='') { if ($this->result->civilite=='' || $this->result->civilite==null) { $message = $this->translate("Né(e)").' '.$message; @@ -72,7 +72,7 @@ $('a.dialogFiche').on('click', function(e){ -result->id>=1000 ) {?> +idFiche>=1000 ) {?>
Coordonnées :
result->adresseNum==0) ? '' : $this->result->adresseNum . ' ' .