/[openfoncier]/trunk/obj/enjeux.class.php
ViewVC logotype

Diff of /trunk/obj/enjeux.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/10265/obj/enjeux.class.php revision 15752 by gmalvolti, Thu Sep 21 07:26:53 2023 UTC trunk/obj/enjeux.class.php revision 15973 by softime, Thu Oct 26 18:29:29 2023 UTC
# Line 31  class enjeux extends enjeux_gen { Line 31  class enjeux extends enjeux_gen {
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          }          }
# Line 61  class enjeux extends enjeux_gen { Line 61  class enjeux extends enjeux_gen {
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          );          );
# Line 74  class enjeux extends enjeux_gen { Line 75  class enjeux extends enjeux_gen {
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      }      }

Legend:
Removed from v.15752  
changed lines
  Added in v.15973

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26