diff --git a/application/controllers/SaisieController.php b/application/controllers/SaisieController.php index 099032b9e..0cee0b4bf 100644 --- a/application/controllers/SaisieController.php +++ b/application/controllers/SaisieController.php @@ -1637,6 +1637,7 @@ class SaisieController extends Zend_Controller_Action 'actif' => (array_key_exists('actif', $params) && $params['actif']==0 ) ? 0 : 1, 'PpPm' => $params['PpPm'], 'RS' => strtoupper(trim($params['RS'])), + 'sigle' => empty($params['sigle']) ? '' : trim($params['sigle']), 'civilite' => $params['civilite'], 'nom' => strtoupper(trim($params['nom'])), 'prenom' => ucfirst(trim($params['prenom'])), @@ -1997,6 +1998,7 @@ class SaisieController extends Zend_Controller_Action Zend_Registry::get('firebug')->info($result); $this->view->assign('nom',$result->Nom); + $this->view->assign('sigle',$result->sigle); $this->view->assign('adresse_num',$result->AdresseNum); $this->view->assign('adresse_btq',$result->AdresseBtq); $this->view->assign('adresse_codvoie',$result->AdresseVoie); diff --git a/application/views/default/scripts/saisie/lienetranger.phtml b/application/views/default/scripts/saisie/lienetranger.phtml index 27364188c..2e87cb9d2 100644 --- a/application/views/default/scripts/saisie/lienetranger.phtml +++ b/application/views/default/scripts/saisie/lienetranger.phtml @@ -30,13 +30,20 @@ div#etranger { display:none; }