This commit is contained in:
Aram HARUTYUNYAN 2013-12-05 13:38:55 +00:00
parent e81e090230
commit dc94f8a02d
3 changed files with 17 additions and 1 deletions

View File

@ -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);

View File

@ -30,13 +30,20 @@ div#etranger { display:none; }
<?php }?>
<div class="fieldgrp">
<label>Raison sociale</label>
<label>Dénomination sociale</label>
<div class="field">
<input type="text" name="nom" value="<?=$this->RS?>"/>
<a href="#" id="google">Recherche Google</a>
</div>
</div>
<div class="fieldgrp">
<label>Sigle</label>
<div class="field">
<input type="text" name="sigle" value="<?=$this->sigle?>"/>
</div>
</div>
<div class="fieldgrp">
<label>Adresse</label>
<div class="field">

View File

@ -22,6 +22,13 @@ if ($this->actif==1){
</div>
</div>
<div class="fieldgrp">
<label>Sigle</label>
<div class="field">
<input type="text" name="sigle" value="<?=$this->sigle?>"/>
</div>
</div>
<div class="fieldgrp">
<label>Adresse</label>
<div class="field">