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

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

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

revision 471 by nhaye, Wed Oct 3 16:51:37 2012 UTC revision 476 by fmichon, Fri Oct 5 12:22:13 2012 UTC
# Line 38  if ($retourformulaire== 'travaux'){ Line 38  if ($retourformulaire== 'travaux'){
38      $tab_actions['content'] =NULL;      $tab_actions['content'] =NULL;
39      $selection=" where dossier.travaux ='".$idx."'";      $selection=" where dossier.travaux ='".$idx."'";
40  }  }
41    
42    if (isset($_GET["obj"]) && $_GET["obj"] == "dossier") {
43        // Configuration de la recherche avancee
44        if (!isset($options)) {
45            $options = array();
46        }
47        // Options pour les select de faux boolĂ©ens
48        $args = array(
49            0 => array("", "Oui", "Non", ),
50            1 => array(_("choisir")." "._("accord_tacite"), _("Oui"), _("Non"), ),
51        );
52        //
53        $champs['dossier'] = array(
54            'table' => 'dossier',
55            'colonne' => 'dossier',
56            'type' => 'text',
57            'taille' => 30,
58            'libelle' => _('dossier'));
59        //
60        $champs['nature'] = array(
61            'table' => 'dossier',
62            'colonne' => 'nature',
63            'type' => 'select',
64            'taille' => 30,
65            'libelle' => _('nature'));
66    
67    
68    
69        //
70        $champs['delegataire_nom'] = array(
71            'table' => 'dossier',
72            'colonne' => 'delegataire_nom',
73            'type' => 'text',
74            'taille' => 30,
75            'libelle' => _('nom delegataire'));
76        //
77        $champs['demandeur_nom'] = array(
78            'table' => 'dossier',
79            'colonne' => 'demandeur_nom',
80            'type' => 'text',
81            'taille' => 30,
82            'libelle' => _('nom demandeur'));
83    
84    
85        //
86        $champs['demandeur_societe'] = array(
87            'table' => 'dossier',
88            'colonne' => 'demandeur_societe',
89            'type' => 'text',
90            'taille' => 30,
91            'libelle' => _('demandeur_societe'));
92        //
93        $champs['parcelle'] = array(
94            'table' => 'dossier',
95            'colonne' => 'parcelle',
96            'type' => 'text',
97            'taille' => 30,
98            'libelle' => _('parcelle'));
99    
100        //
101        $champs['rivoli'] = array(
102            'table' => 'dossier',
103            'colonne' => 'rivoli',
104            'type' => 'text',
105            'taille' => 30,
106            'libelle' => _('rivoli'));
107        //
108        $champs['terrain_adresse'] = array(
109            'table' => 'dossier',
110            'colonne' => 'terrain_adresse',
111            'type' => 'text',
112            'taille' => 30,
113            'libelle' => _('terrain_adresse'));
114    
115    
116    
117    
118        //
119        $champs['terrain_adresse_complement'] = array(
120            'table' => 'dossier',
121            'colonne' => 'terrain_adresse_complement',
122            'type' => 'text',
123            'taille' => 30,
124            'libelle' => _('terrain_adresse_complement'));
125        //// COL2
126    
127        //
128        $champs['etat'] = array(
129            'table' => 'dossier',
130            'colonne' => 'etat',
131            'type' => 'select',
132            'libelle' => _('etat'));
133        //
134        $champs['accord_tacite'] = array(
135            'table' => 'dossier',
136            'colonne' => 'accord_tacite',
137            'type' => 'select',
138            "subtype" => "manualselect",
139            'libelle' => _('accord_tacite'),
140            "args" => $args,
141        );
142    
143        //
144        $champs['travaux'] = array(
145            'table' => 'dossier',
146            'colonne' => 'travaux',
147            'type' => 'select',
148            'libelle' => _('travaux'));
149    
150    
151        //// COL3
152    
153    
154    
155    
156        //
157        $champs['instructeur'] = array(
158            'table' => 'dossier',
159            'colonne' => 'instructeur',
160            'type' => 'select',
161            'libelle' => _('instructeur'));
162        //
163        //$champs['architecte'] = array(
164        //    'table' => 'dossier',
165        //    'colonne' => 'architecte',
166        //    'type' => 'select',
167        //    'libelle' => _('architecte'));
168    
169        //
170        $champs['date_depot'] = array(
171            'colonne' => 'date_depot',
172            'table' => 'dossier',
173            'libelle' => _('date_depot'),
174            'lib1'=> _("debut"),
175            'lib2' => _("fin"),
176            'type' => 'date',
177            'taille' => 8,
178            'where' => 'intervaldate');
179        //
180        $champs['date_rejet'] = array(
181            'colonne' => 'date_rejet',
182            'table' => 'dossier',
183            'libelle' => _('date_rejet'),
184            'lib1'=> _("debut"),
185            'lib2' => _("fin"),
186            'type' => 'date',
187            'taille' => 8,
188            'where' => 'intervaldate');
189    
190       //
191        $champs['date_validite'] = array(
192            'colonne' => 'date_validite',
193            'table' => 'dossier',
194            'libelle' => _('date_validite'),
195            'lib1'=> _("debut"),
196            'lib2' => _("fin"),
197            'type' => 'date',
198            'taille' => 8,
199            'where' => 'intervaldate');
200    
201    
202    
203        //
204        $champs['date_complet'] = array(
205            'colonne' => 'date_complet',
206            'table' => 'dossier',
207            'libelle' => _('date_complet'),
208            'lib1'=> _("debut"),
209            'lib2' => _("fin"),
210            'type' => 'date',
211            'taille' => 8,
212            'where' => 'intervaldate');
213        //
214        $champs['date_decision'] = array(
215            'colonne' => 'date_decision',
216            'table' => 'dossier',
217            'libelle' => _('date_decision'),
218            'lib1'=> _("debut"),
219            'lib2' => _("fin"),
220            'type' => 'date',
221            'taille' => 8,
222            'where' => 'intervaldate');
223        //
224        $champs['date_limite'] = array(
225            'colonne' => 'date_limite',
226            'table' => 'dossier',
227            'libelle' => _('date_limite'),
228            'lib1'=> _("debut"),
229            'lib2' => _("fin"),
230            'type' => 'date',
231            'taille' => 8,
232            'where' => 'intervaldate');
233    
234    
235    
236    
237        //
238        $champs['date_chantier'] = array(
239            'colonne' => 'date_chantier',
240            'table' => 'dossier',
241            'libelle' => _('date_chantier'),
242            'lib1'=> _("debut"),
243            'lib2' => _("fin"),
244            'type' => 'date',
245            'taille' => 8,
246            'where' => 'intervaldate');
247        //
248        $champs['date_achevement'] = array(
249            'colonne' => 'date_achevement',
250            'table' => 'dossier',
251            'libelle' => _('date_achevement'),
252            'lib1'=> _("debut"),
253            'lib2' => _("fin"),
254            'type' => 'date',
255            'taille' => 8,
256            'where' => 'intervaldate');
257        //
258        $champs['date_conformite'] = array(
259            'colonne' => 'date_conformite',
260            'table' => 'dossier',
261            'libelle' => _('date_conformite'),
262            'lib1'=> _("debut"),
263            'lib2' => _("fin"),
264            'type' => 'date',
265            'taille' => 8,
266            'where' => 'intervaldate');
267        //
268        $options[] = array(
269            'type' => 'search',
270            'display' => true,
271            'advanced'  => $champs,
272            'default_form'  => 'advanced',
273            'absolute_object' => 'dossier');
274    }
275    
276    
277  $sousformulaire=array("instruction",  $sousformulaire=array("instruction",
278                        "consultation",                        "consultation",
279                        "terrain",                        "terrain",
280                        "blocnote",                        "blocnote",
281                        "destination_shon",                        "destination_shon",
282                        "statistique");                        "statistique");
 ?>  
283    ?>

Legend:
Removed from v.471  
changed lines
  Added in v.476

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26