/[openfoncier]/trunk/sql/pgsql/demande_avis.inc.php
ViewVC logotype

Diff of /trunk/sql/pgsql/demande_avis.inc.php

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

revision 935 by nhaye, Fri Nov 30 11:49:30 2012 UTC revision 942 by nhaye, Fri Nov 30 15:11:41 2012 UTC
# Line 31  $champAffiche = array( Line 31  $champAffiche = array(
31      'dossier.demandeur_nom as "'._("petitionaire").'"',      'dossier.demandeur_nom as "'._("petitionaire").'"',
32      'dossier.shon as "'._("surface").'"',      'dossier.shon as "'._("surface").'"',
33      'service.abrege as "'._("service").'"',      'service.abrege as "'._("service").'"',
34      'service.type_consultation as "'._("type_consultation").'"',      'CASE WHEN service.type_consultation=\'avec_avis_attendu\'
35                THEN \''._("avec avis attendu").'\'
36                WHEN service.type_consultation=\'pour_conformite\'
37                THEN \''._("pour confirmation").'\'
38                WHEN service.type_consultation=\'pour_information\'
39                THEN \''._("pour information").'\'
40        END as "'._("type_consultation").'"',
41      );      );
42  //  //
43  $champRecherche = array(  $champRecherche = array(
# Line 111  $sousformulaire_parameters = array( Line 117  $sousformulaire_parameters = array(
117          "href" => "../app/dossier_document.view.php",          "href" => "../app/dossier_document.view.php",
118      ),      ),
119  );  );
120    
121    /**
122     * Options
123     */
124    // On met la ligne en couleur selon le type de condition
125    $options[] = array(
126        "type" => "condition",
127        "field" => 'CASE WHEN service.type_consultation=\'avec_avis_attendu\'
128                THEN \''._("avec avis attendu").'\'
129                WHEN service.type_consultation=\'pour_conformite\'
130                THEN \''._("pour confirmation").'\'
131                WHEN service.type_consultation=\'pour_information\'
132                THEN \''._("pour information").'\'
133        END',
134        "case" => array(
135                     array(
136                        "values" => array(_("avec avis attendu"), ),
137                        "style" => "consultation-avec-avis-attendu",
138                    ),
139                    array(
140                        "values" => array("pour_confirmation", ),
141                        "style" => "consultation-pour-confirmation",
142                    ),
143                    array(
144                        "values" => array("pour_information", ),
145                        "style" => "consultation-pour-information",
146                    ),
147                ),
148    );
149  ?>  ?>

Legend:
Removed from v.935  
changed lines
  Added in v.942

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26