From a594376bbd4f35eb82b206a00331d7917fd0b117 Mon Sep 17 00:00:00 2001 From: Damien LASSERRE Date: Mon, 16 Jan 2012 15:25:40 +0000 Subject: [PATCH] Modification d'un type et des valeur par default de teff_entrep et etab --- library/Scores/Field.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/library/Scores/Field.php b/library/Scores/Field.php index f1fa55fb..35d98532 100644 --- a/library/Scores/Field.php +++ b/library/Scores/Field.php @@ -221,11 +221,24 @@ Class Fields 'teff_entrep' => array( 'label' => 'Tranche d\'effectif de l\'Entreprise', 'fields' => array( - 'interval' => array('value' => array('0', '10000000')) + 'select' => array('value' => array( '0,1' => 'De 0 à 1', + '1,2' => 'De 1 à 2', + '2,3' => 'De 2 à 3', + '3,11' => 'De 3 à 11', + '11,12' => 'De 11 à 12', + '12,21' => 'De 12 à 21', + '21, 22' => 'De 21 à 22', + '22,31' => 'De 21 a 31', + '31,32' => 'De 31 à 32', + '32,41' => 'De 32 à 41', + '41,42' => 'De 41 à 42', + '42,51' => 'De 42 à 51', + '51, 52' => 'De 51 à 52', + '52, 53' => 'De 52 à 53')) ), 'famille' => 'economique', 'activated' => true, - 'type' => 'interval', + 'type' => 'select', 'userValue' => null ), 'teff_etab' => array(