Visuel des formulaires
This commit is contained in:
parent
03e015b877
commit
5bb6c1e24e
@ -3,31 +3,31 @@ return array(
|
||||
array(
|
||||
'label' => "Entreprise",
|
||||
'module' => 'search',
|
||||
'controller' => 'index',
|
||||
'action' => 'entreprise',
|
||||
'controller' => 'entreprise',
|
||||
'action' => 'index',
|
||||
),
|
||||
array(
|
||||
'label' => "Dirigeant",
|
||||
'module' => 'search',
|
||||
'controller' => 'index',
|
||||
'action' => 'dirigeant',
|
||||
'controller' => 'dirigeant',
|
||||
'action' => 'index',
|
||||
),
|
||||
array(
|
||||
'label' => "Actionnaire",
|
||||
'module' => 'search',
|
||||
'controller' => 'index',
|
||||
'action' => 'actionnaire',
|
||||
'controller' => 'actionnaire',
|
||||
'action' => 'index',
|
||||
),
|
||||
array(
|
||||
'label' => "Annonce",
|
||||
'module' => 'search',
|
||||
'controller' => 'index',
|
||||
'action' => 'annonce',
|
||||
'controller' => 'annonce',
|
||||
'action' => 'index',
|
||||
),
|
||||
array(
|
||||
'label' => "Surveillance",
|
||||
'module' => 'search',
|
||||
'controller' => 'index',
|
||||
'action' => 'surveillance',
|
||||
'controller' => 'surveillance',
|
||||
'action' => 'index',
|
||||
),
|
||||
);
|
@ -1,6 +1,16 @@
|
||||
<?php
|
||||
class Search_ActionnaireController extends Zend_Controller_Action
|
||||
{
|
||||
public function indexAction(){}
|
||||
public function indexAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$this->view->headTitle()->append('Recherche Actionnaire');
|
||||
$form = new Application_Form_RechercheActionnaire();
|
||||
if ( $request->isPost() || $request->isGet() ){
|
||||
$form->populate($request->getParams());
|
||||
}
|
||||
$this->view->assign('form', $form);
|
||||
}
|
||||
|
||||
public function listAction(){}
|
||||
}
|
@ -1,6 +1,25 @@
|
||||
<?php
|
||||
class Search_DirigeantController extends Zend_Controller_Action
|
||||
{
|
||||
public function indexAction(){}
|
||||
protected $theme;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
$this->view->inlineScript()->appendFile($this->theme->pathScript.'/recherche.js', 'text/javascript');
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$this->view->headTitle()->prepend('Recherche Dirigeant');
|
||||
$form = new Application_Form_RechercheDirigeant();
|
||||
if ( $request->isPost() || $request->isGet() ){
|
||||
$form->populate($request->getParams());
|
||||
}
|
||||
$this->view->assign('form', $form);
|
||||
}
|
||||
|
||||
public function listAction(){}
|
||||
}
|
@ -7,6 +7,7 @@ class Search_EntrepriseController extends Zend_Controller_Action
|
||||
{
|
||||
// --- Theme
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
$this->view->inlineScript()->appendFile($this->theme->pathScript.'/recherche.js', 'text/javascript');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2,5 +2,150 @@
|
||||
class Search_SurveillanceController extends Zend_Controller_Action
|
||||
{
|
||||
public function indexAction(){}
|
||||
public function listAction(){}
|
||||
|
||||
public function listAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$params = $request->getParams();
|
||||
$type = $request->getParam('type', '');
|
||||
|
||||
$rechercheParams = new Scores_Session_Recherche();
|
||||
|
||||
//Si le formulaire a été soumis alors on enregistre en session et on redirige
|
||||
if ( !empty($type) ) {
|
||||
$rechercheParams->save($type, $params);
|
||||
}
|
||||
|
||||
//On selectionne en session
|
||||
if (count($rechercheParams->liste())>0){
|
||||
$recherche = $rechercheParams->item(0);
|
||||
$type = $recherche['type'];
|
||||
$params = $recherche['params'];
|
||||
}
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
$this->view->assign('login', $user->getLogin());
|
||||
|
||||
$page = $request->getParam('page', 1);
|
||||
if ($page==0) $page = 1;
|
||||
$page = $page-1;
|
||||
$position = $page*$user->getNbRep();
|
||||
|
||||
$nbReponses = 0;
|
||||
$nbReponsesTotal = 0;
|
||||
$liste = array();
|
||||
|
||||
$ws = new WsScores();
|
||||
$reponses = $ws->searchRefClient($params['ref'], $position, $user->getNbRep());
|
||||
if ($reponses !== false){
|
||||
$nbReponses = $reponses->nbReponses;
|
||||
$nbReponsesTotal = $reponses->nbReponsesTotal;
|
||||
$etabs = $reponses->result->item;
|
||||
|
||||
if (count($etabs)>0) {
|
||||
foreach($etabs as $i => $etab) {
|
||||
$item = array();
|
||||
$item['position'] = ($position)+$i+1;
|
||||
$item['id'] = $etab->id;
|
||||
$item['siren'] = $etab->Siren;
|
||||
$item['siret'] = $etab->Siren.$etab->Nic;
|
||||
$item['InfoSiret'] = $etab->Siren.' '.$etab->Nic;
|
||||
$item['InfoNom'] = $etab->Nom;
|
||||
|
||||
$nomDetail = '';
|
||||
if ($etab->Nom2<>'' || $etab->Enseigne<>'' || $etab->Sigle<>'') {
|
||||
$nomDetail.= '<i>';
|
||||
if ($etab->Nom2!='') $nomDetail.= $etab->Nom2.'<br/>';
|
||||
if ($etab->Enseigne<>'') $nomDetail.= 'Enseigne : '.$etab->Enseigne.' ';
|
||||
if ($etab->Sigle<>'') $nomDetail.= 'Sigle : '.$etab->Sigle;
|
||||
$nomDetail.= '</i><br/>';
|
||||
}
|
||||
$item['InfoNomDetail'] = $nomDetail;
|
||||
$item['InfoSiret'] = substr($etab->Siren,0,3).' '.
|
||||
substr($etab->Siren,3,3).' '.
|
||||
substr($etab->Siren,6,3).' '.
|
||||
$etab->Nic;
|
||||
$infoEtab = '';
|
||||
if ($etab->Siege==1){
|
||||
$infoEtab.= 'Établissement siège ';
|
||||
} else {
|
||||
$infoEtab.= 'Établissement secondaire ';
|
||||
}
|
||||
if ($etab->Actif==1){
|
||||
$infoEtab.= 'actif';
|
||||
} else {
|
||||
$infoEtab.= 'inactif';
|
||||
}
|
||||
if (intval($etab->Nic)==0 || intval($item->Nic)>=99990) {
|
||||
$infoEtab.=' provisoire';
|
||||
}
|
||||
|
||||
if ($etab->Siege!=1 || ($etab->Siege==1 && $etab->Actif!=1)) {
|
||||
$url = $this->view->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'fiche',
|
||||
'id' => $etab->id,
|
||||
'siret' => $etab->Siren,
|
||||
), 'default', true);
|
||||
$infoEtab.= ' <a title="Voir la fiche d\'identité du siège de cette entreprise"'.
|
||||
' href="'.$url.'">(Accès siège)</a>';
|
||||
}
|
||||
$item['InfoEtab'] = $infoEtab;
|
||||
|
||||
$adresse = $etab->Adresse.'<br/>';
|
||||
if (isset($etab->Adresse2) && $etab->Adresse2 != '') {
|
||||
$adresse.= $etab->Adresse2.'<br/>';
|
||||
}
|
||||
$adresse.= "<b>".$etab->CP." ".$etab->Ville."</b>";
|
||||
$item['InfoAdresse'] = $adresse;
|
||||
|
||||
|
||||
$forme = '';
|
||||
if (trim($etab->FJ)!='')
|
||||
{
|
||||
$forme = '<i>Forme : '.$etab->FJLib.' ('.$etab->FJ.')</i><br/>';
|
||||
}
|
||||
$item['InfoForme'] = $forme;
|
||||
|
||||
$activite = '';
|
||||
if (trim($etab->NafEnt)!='')
|
||||
{
|
||||
$activite = '<i>Activité : '.$etab->NafEntLib.' ('.$etab->NafEnt.')</i><br/>';
|
||||
}
|
||||
$item['InfoActivite'] = $activite;
|
||||
|
||||
$item['login'] = $etab->Infos->login;
|
||||
$item['email'] = $etab->Infos->email;
|
||||
$item['source'] = $etab->Infos->source;
|
||||
$item['ref'] = $etab->Infos->ref;
|
||||
|
||||
$date = new Zend_Date($etab->Infos->dateAjout, 'yyyy-MM-dd');
|
||||
$item['dateAjout'] = $date->toString('dd/MM/yyyy');
|
||||
if ( $etab->Infos->dateEnvoi!='0000-00-00' ) {
|
||||
$date = new Zend_Date($etab->Infos->dateEnvoi, 'yyyy-MM-dd');
|
||||
$item['dateEnvoi'] = $date->toString('dd/MM/yyyy');
|
||||
} else {
|
||||
$item['dateEnvoi'] = '';
|
||||
}
|
||||
|
||||
$liste[] = $item;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ($nbReponses < $nbReponsesTotal) {
|
||||
$totPage = ceil($nbReponsesTotal/$user->getNbRep());
|
||||
$curPage = $page+1;
|
||||
} else {
|
||||
$totPage = $curPage = 1;
|
||||
}
|
||||
|
||||
$this->view->assign('nbReponses', $nbReponses);
|
||||
$this->view->assign('nbReponsesTotal', $nbReponsesTotal);
|
||||
$this->view->assign('totPage', $totPage);
|
||||
$this->view->assign('curPage', $curPage);
|
||||
$this->view->assign('liste', $liste);
|
||||
}
|
||||
}
|
@ -1,27 +1,59 @@
|
||||
<?php
|
||||
$form = $this->form;
|
||||
?>
|
||||
<div id="center-recherche">
|
||||
<div id="recherche">
|
||||
<h3><?=$this->translate("RECHERCHE PAR ACTIONNAIRE")?></h3>
|
||||
<?php $form = $this->form; ?>
|
||||
<div id="content">
|
||||
<h3 class="text-center"><?=$this->translate("RECHERCHE PAR ACTIONNAIRE")?></h3>
|
||||
<form class="form-horizontal" name="<?=$form->getName()?>" method="<?=$form->getMethod()?>" action="<?=$form->getAction()?>">
|
||||
|
||||
<form class="recherche" name="<?php echo $form->getName()?>"
|
||||
method="<?php echo $form->getMethod()?>" action="<?php echo $form->getAction()?>">
|
||||
<?php echo $form->type?>
|
||||
|
||||
<div class="row"><?php echo $form->siret?></div>
|
||||
<div class="row"><?php echo $form->actNomRs?></div>
|
||||
<div class="row"><?php echo $form->cpVille?></div>
|
||||
<div class="row"><?php echo $form->pays?></div>
|
||||
<div class="row">
|
||||
<?php echo $form->pctMin?>
|
||||
<?php echo $form->pctMax?> %
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->siret->getLabel()?></label>
|
||||
<div class="col-sm-9">
|
||||
<input type="<?=$form->siret->getType()?>" class="form-control" name="<?=$form->siret->getName()?>" value="<?=$form->siret->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row submit">
|
||||
<?php echo $form->submit?>
|
||||
<?php echo $form->reset?>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->actNomRs->getLabel()?></label>
|
||||
<div class="col-sm-9">
|
||||
<input type="<?=$form->actNomRs->getType()?>" class="form-control" name="<?=$form->actNomRs->getName()?>" value="<?=$form->actNomRs->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->cpVille->getLabel()?></label>
|
||||
<div class="col-sm-9">
|
||||
<input type="<?=$form->cpVille->getType()?>" class="form-control" name="<?=$form->cpVille->getName()?>" value="<?=$form->cpVille->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->pays->getLabel()?></label>
|
||||
<div class="col-sm-9">
|
||||
<input type="<?=$form->pays->getType()?>" class="form-control" name="<?=$form->pays->getName()?>" value="<?=$form->pays->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->pctMin->getLabel()?></label>
|
||||
<div class="col-sm-9">
|
||||
<input type="<?=$form->pctMin->getType()?>" class="form-control" name="<?=$form->pctMin->getName()?>" value="<?=$form->pctMin->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->pctMax->getLabel()?></label>
|
||||
<div class="col-sm-9">
|
||||
<input type="<?=$form->pctMax->getType()?>" class="form-control" name="<?=$form->pctMax->getName()?>" value="<?=$form->pctMax->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-3 col-sm-9">
|
||||
<button type="reset" class="btn btn-default btn-sm">Effacer</button>
|
||||
<button type="submit" class="btn btn-default btn-sm">Rechercher</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
@ -1,26 +1,52 @@
|
||||
<?php
|
||||
$form = $this->form;
|
||||
?>
|
||||
<div id="center-recherche">
|
||||
<div id="recherche">
|
||||
<h3><?=$this->translate("RECHERCHE DIRIGEANT")?></h3>
|
||||
<form class="recherche" name="<?php echo $form->getName()?>"
|
||||
method="<?php echo $form->getMethod()?>" action="<?php echo $form->getAction()?>">
|
||||
<?php $form = $this->form; ?>
|
||||
<div id="content">
|
||||
|
||||
<h3 class="text-center"><?=$this->translate("Recherche Dirigeant")?></h3>
|
||||
<form class="form-horizontal" name="<?php echo $form->getName()?>" method="<?php echo $form->getMethod()?>" action="<?php echo $form->getAction()?>">
|
||||
|
||||
<?php echo $form->type?>
|
||||
|
||||
<div class="row"><?php echo $form->dirNom?></div>
|
||||
<div class="row"><?php echo $form->dirPrenom?></div>
|
||||
<div class="row">
|
||||
<?php echo $form->dirDateNaissJJ?>
|
||||
<?php echo $form->dirDateNaissMM?>
|
||||
<?php echo $form->dirDateNaissAAAA?>
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->dirNom->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="<?=$form->dirNom->getType()?>" class="form-control" name="<?=$form->dirNom->getName()?>" value="<?=$form->dirNom->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row"><?php echo $form->dirCpVille?></div>
|
||||
|
||||
<div class="row submit">
|
||||
<?php echo $form->submit?>
|
||||
<?php echo $form->reset?>
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->dirPrenom->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="<?=$form->dirPrenom->getType()?>" class="form-control" name="<?=$form->dirPrenom->getName()?>" value="<?=$form->dirPrenom->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->dirDateNaissJJ->getLabel()?></label>
|
||||
<div class="col-sm-1">
|
||||
<input type="<?=$form->dirDateNaissJJ->getType()?>" class="form-control" name="<?=$form->dirDateNaissJJ->getName()?>" value="<?=$form->dirDateNaissJJ->getValue()?>">
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<input type="<?=$form->dirDateNaissMM->getType()?>" class="form-control" name="<?=$form->dirDateNaissMM->getName()?>" value="<?=$form->dirDateNaissMM->getValue()?>">
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<input type="<?=$form->dirDateNaissAAAA->getType()?>" class="form-control" name="<?=$form->dirDateNaissAAAA->getName()?>" value="<?=$form->dirDateNaissAAAA->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->dirCpVille->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="<?=$form->dirCpVille->getType()?>" class="form-control" name="<?=$form->dirCpVille->getName()?>" value="<?=$form->dirCpVille->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-3 col-sm-9">
|
||||
<button type="reset" class="btn btn-default btn-sm">Effacer</button>
|
||||
<button type="submit" class="btn btn-default btn-sm">Rechercher</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -1,5 +1,8 @@
|
||||
<div id="content">
|
||||
<div id="recherche">
|
||||
|
||||
<h3 class="text-center"><?=$this->translate("Recherche Entreprise")?></h3>
|
||||
|
||||
<?php if (!empty($this->message)){ ?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
@ -7,44 +10,81 @@
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<h1><?=$this->translate("RECHERCHE ENTREPRISE")?></h1>
|
||||
<?php $form = $this->form; ?>
|
||||
<form class="recherche" name="<?php echo $form->getName()?>"
|
||||
method="<?=$form->getMethod()?>" action="<?=$form->getAction()?>">
|
||||
<form class="form-horizontal" name="<?php echo $form->getName()?>" method="<?=$form->getMethod()?>" action="<?=$form->getAction()?>">
|
||||
|
||||
<?=$form->type?>
|
||||
<div class="row">
|
||||
<?php echo $form->siret?>
|
||||
<img src="/themes/default/images/info.gif" title="Recherche par SIREN, SIRET, N° TVA intracommunautaire, N° RC, R.N.A., ISIN" />
|
||||
<img src="/themes/default/images/siretdirect.gif" title="Accès direct à la fiche identité (Racourci clavier : Maintenir CTRL puis ENTREE)" id="goidentite"/>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->siret->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<div class="input-group">
|
||||
<input type="<?=$form->siret->getType()?>" class="form-control" name="<?=$form->siret->getName()?>" value="<?=$form->siret->getValue()?>">
|
||||
<div class="input-group-addon">
|
||||
<span class="glyphicon glyphicon-info-sign" title="Recherche par SIREN, SIRET, N° TVA intracommunautaire, N° RC, R.N.A., ISIN"></span>
|
||||
</div>
|
||||
<div class="input-group-addon">
|
||||
<span class="glyphicon glyphicon-arrow-right" title="Accès direct à la fiche identité (Racourci clavier : Maintenir CTRL puis ENTREE)" id="goidentite"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($this->SEARCHENT) {?>
|
||||
<div class="row">
|
||||
<?=$form->raisonSociale?>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->raisonSociale->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="<?=$form->raisonSociale->getType()?>" class="form-control" name="<?=$form->raisonSociale->getName()?>" value="<?=$form->raisonSociale->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<?=$form->numero?>
|
||||
<?=$form->voie?>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->numero->getLabel()?></label>
|
||||
<div class="col-sm-2">
|
||||
<input type="<?=$form->numero->getType()?>" class="form-control" name="<?=$form->numero->getName()?>" value="<?=$form->numero->getValue()?>">
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="<?=$form->voie->getType()?>" class="form-control" name="<?=$form->voie->getName()?>" value="<?=$form->voie->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<?=$form->cpVille?>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->cpVille->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="<?=$form->cpVille->getType()?>" class="form-control" name="<?=$form->cpVille->getName()?>" value="<?=$form->cpVille->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<?=$form->telFax?>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->telFax->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="<?=$form->telFax->getType()?>" class="form-control" name="<?=$form->telFax->getName()?>" value="<?=$form->telFax->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<?=$form->naf?>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->naf->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="<?=$form->naf->getType()?>" class="form-control" name="<?=$form->naf->getName()?>" value="<?=$form->naf->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<?=$form->fj?>
|
||||
</div>
|
||||
<div class="row">
|
||||
<?=$form->pays?>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<label class="col-sm-3 control-label"><?=$form->fj->getLabel()?></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="<?=$form->fj->getType()?>" class="form-control" name="<?=$form->fj->getName()?>" value="<?=$form->fj->getValue()?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<div class="row submit">
|
||||
<?=$form->submit?>
|
||||
<?=$form->reset?>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-3 col-sm-9">
|
||||
<button type="reset" class="btn btn-default btn-sm">Effacer</button>
|
||||
<button type="submit" class="btn btn-default btn-sm">Rechercher</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
@ -57,7 +57,7 @@ class Application_Form_RechercheEntreprise extends Zend_Form
|
||||
//raisonSocial
|
||||
$this->addElement('text', 'raisonSociale', array(
|
||||
'filters' => array('StringTrim'),
|
||||
'label' => 'DÉNOMINATION SOCIALE / ENSEIGNE / SIGLE ',
|
||||
'label' => 'NOM',
|
||||
'required' => 'true',
|
||||
'decorators' => $this->elementDecorators,
|
||||
'attribs' => array(
|
||||
|
Loading…
Reference in New Issue
Block a user