31 |
|
|
32 |
// MODE AJOUTER / MODIFIER |
// MODE AJOUTER / MODIFIER |
33 |
if ($maj == 0 || $maj == 1) { |
if ($maj == 0 || $maj == 1) { |
34 |
$form->setType("couleur", "rvb"); |
$form->setType("couleur", "color"); |
35 |
$form->setType('om_collectivite','select_multiple'); |
$form->setType('om_collectivite','select_multiple'); |
36 |
$form->setType('dossier_instruction_type','select_multiple'); |
$form->setType('dossier_instruction_type','select_multiple'); |
37 |
} |
} |
61 |
"enjeux.enjeux", |
"enjeux.enjeux", |
62 |
"enjeux.libelle", |
"enjeux.libelle", |
63 |
"couleur", |
"couleur", |
64 |
|
"priorite", |
65 |
"array_to_string(array_agg(distinct(om_collectivite) ORDER BY om_collectivite), ';') as om_collectivite", |
"array_to_string(array_agg(distinct(om_collectivite) ORDER BY om_collectivite), ';') as om_collectivite", |
66 |
"array_to_string(array_agg(distinct(dossier_instruction_type) ORDER BY dossier_instruction_type), ';') as dossier_instruction_type", |
"array_to_string(array_agg(distinct(dossier_instruction_type) ORDER BY dossier_instruction_type), ';') as dossier_instruction_type", |
67 |
); |
); |
75 |
function setLib(&$form, $maj) { |
function setLib(&$form, $maj) { |
76 |
parent::setLib($form, $maj); |
parent::setLib($form, $maj); |
77 |
// |
// |
78 |
|
$form->setLib('enjeux', __('enjeu')); |
79 |
$form->setLib('om_collectivite', __('om_collectivite')); |
$form->setLib('om_collectivite', __('om_collectivite')); |
80 |
$form->setLib('dossier_instruction_type', __('dossier_instruction_type')); |
$form->setLib('dossier_instruction_type', __('dossier_instruction_type')); |
81 |
} |
} |