ajout des teff

This commit is contained in:
Damien LASSERRE 2012-04-13 15:33:59 +00:00
parent 51cab1e5d2
commit a153844832
3 changed files with 28 additions and 0 deletions

View File

@ -26,7 +26,9 @@
<li><?php echo $this->Field('age_entrep', $this->fields->get('age_entrep'));?></li>
<li><?php echo $this->Field('age_etab', $this->fields->get('age_etab'));?></li>
<li><?php echo $this->Field('teff_entrep', $this->fields->get('teff_entrep'));?></li>
<li><?php echo $this->Field('teff_entrepM', $this->fields->get('teff_entrepM'));?></li>
<li><?php echo $this->Field('teff_etab', $this->fields->get('teff_etab'));?></li>
<li><?php echo $this->Field('teff_etabM', $this->fields->get('teff_etabM'));?></li>
<li><?php echo $this->Field('eff_entrep', $this->fields->get('eff_entrep'));?></li>
<li><?php echo $this->Field('eff_etab', $this->fields->get('eff_etab'));?></li>
<li><?php echo $this->Field('nbEtab', $this->fields->get('nbEtab'));?></li>

View File

@ -270,6 +270,12 @@ Class Ciblage
if($valeur[0] != 0 or $valeur[1] != 0)
$this->setFilterRange('teff_entrep', $valeur);
}
protected function teff_entrepM($valeur) {
$this->setFilter('teff_entrepM', $valeur);
}
protected function teff_etabM($valeur) {
$this->setFilter('teff_etabM', $valeur);
}
protected function teff_etab($valeur) {
//$valeur = $this->setMinMax($name, $valeur);

View File

@ -338,6 +338,26 @@ Class Fields
'type' => 'intervalSelect',
'class' => null
),
'teff_etabM' => array(
'label' => 'Tranche d\'effectif de l\'établissement M',
'fields' => array(
'select' => array('value' => array('1' => 'Oui', '0' => 'Non'))
),
'famille' => 'economique',
'activated' => true,
'type' => 'select',
'class' => null
),
'teff_entrepM' => array(
'label' => 'Tranche d\'effectif de l\'entreprise M',
'fields' => array(
'select' => array('value' => array('1' => 'Oui', '0' => 'Non'))
),
'famille' => 'economique',
'activated' => true,
'type' => 'select',
'class' => null
),
'nbEtab' => array(
'label' => 'Nombre d\'établissements',
'fields' => array(