issue #0001766 : Ne pas afficher les éléments d'informations pour les id < 1000
This commit is contained in:
parent
0f7fb2ad9f
commit
f990ca17fb
@ -967,6 +967,8 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$result = $ws->getLienRef($id);
|
||||
Zend_Registry::get('firebug')->info($result);
|
||||
$this->view->assign('result', $result);
|
||||
|
||||
$this->view->assign('idFiche', $id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div>
|
||||
<?php if ($this->result->PpPm == 'PP') {?>
|
||||
<?php if (!empty($this->result->civilite)) {?>
|
||||
<?=$this->result->civilite?>
|
||||
<?=$this->result->civilite?>
|
||||
<?php }?>
|
||||
<?php if (!empty($this->result->nom)) {?>
|
||||
<?=$this->result->nom?> <?php }?>
|
||||
@ -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){
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( $this->result->id>=1000 ) {?>
|
||||
<?php if ( $this->idFiche>=1000 ) {?>
|
||||
|
||||
<div><b>Coordonnées : </b></div>
|
||||
<div><?=($this->result->adresseNum==0) ? '' : $this->result->adresseNum . ' ' .
|
||||
|
Loading…
Reference in New Issue
Block a user