This commit is contained in:
Aram HARUTYUNYAN 2013-11-28 13:40:56 +00:00
parent 3417d50bfb
commit 8c9771948c
2 changed files with 17 additions and 0 deletions

View File

@ -1653,6 +1653,7 @@ class SaisieController extends Zend_Controller_Action
'adresse_cp' => empty($params['adresse_cp']) ? '' : trim($params['adresse_cp']),
'adresse_ville' => empty($params['adresse_ville']) ? '' : trim($params['adresse_ville']),
'adresse_pays' => empty($params['adresse_pays']) ? '' : trim($params['adresse_pays']),
'actif' => $params['actif'],
'tel' => empty($params['tel']) ? '' : trim($params['tel']),
'fax' => empty($params['fax']) ? '' : trim($params['fax']),
'web' => empty($params['web']) ? '' : trim($params['web']),
@ -2005,6 +2006,7 @@ class SaisieController extends Zend_Controller_Action
$this->view->assign('adresse_cp',$result->CP);
$this->view->assign('adresse_ville',$result->Ville);
$this->view->assign('actif',$result->Actif);
$this->view->assign('tel',$result->Tel);
$this->view->assign('fax',$result->Fax);
$this->view->assign('web',$result->Web);

View File

@ -1,5 +1,20 @@
<?php if ($this->nom) {?>
<div class="fieldgrp">
<label>Situation Juridique</label>
<div class="field">
<?php
if ($this->actif==1){
$checkActive = 'checked';
} else {
$checkInactive = 'checked';
}
?>
<div style="float:left;">Active<input type="radio" name="actif" value="1" <?=$checkActive;?>/></div>
<div style="float:left;">Inactive<input type="radio" name="actif" value="0" <?=$checkInactive;?>/></div>
</div>
</div>
<div class="fieldgrp">
<label>Raison sociale</label>
<div class="field">