Don't use "saisie" method + comment
This commit is contained in:
parent
eb6769e435
commit
57461860b8
@ -631,6 +631,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
|| ($session->getFormeJuridique()>=10 && $session->getFormeJuridique()<=19) ) {
|
||||
$this->view->assign('PP', true);
|
||||
|
||||
//@todo : using this function is strange - How to get the id before ?
|
||||
$result = $ws->searchLienRef($siren, 'siren');
|
||||
if (count($result->item)>0) {
|
||||
foreach ($result->item as $item) {
|
||||
@ -638,13 +639,12 @@ class IdentiteController extends Zend_Controller_Action
|
||||
break;
|
||||
}
|
||||
}
|
||||
$result = $ws->getSaisieLienRef($id);
|
||||
$items = json_decode($result, true);
|
||||
Zend_Registry::get('firebug')->info($items);
|
||||
$this->view->assign('nom', $items['nom']);
|
||||
$this->view->assign('prenom', $items['prenom']);
|
||||
$this->view->assign('civilite', $items['civilite']);
|
||||
$this->view->assign('naissanceDate', $items['naissance_date']);
|
||||
|
||||
$result = $ws->getLienRef($id);
|
||||
$this->view->assign('nom', $result->nom);
|
||||
$this->view->assign('prenom', $result->prenom);
|
||||
$this->view->assign('civilite', $result->civilite);
|
||||
$this->view->assign('naissanceDate', $result->naissance_Date);
|
||||
}
|
||||
|
||||
if ( in_array($session->getFormeJuridique(), array(5488,5498,5720)) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user