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

Annotation of /trunk/sql/pgsql/donnees_techniques.form.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1266 - (hide annotations)
Mon Feb 18 12:05:00 2013 UTC (11 years, 11 months ago) by vpihour
File size: 10730 byte(s)
Visualisation des données techniques dans l'onglet si elles existent ou formulaire d'ajout

1 vpihour 1249 <?php
2     //$Id$
3     //gen openMairie le 13/02/2013 14:41
4    
5     include('../gen/sql/pgsql/donnees_techniques.form.inc.php');
6 nhaye 1262
7     $champs=array(
8     "donnees_techniques",
9     "dossier_instruction",
10 vpihour 1266 "lot",
11 nhaye 1262 //Début premier fieldset 4
12     //Début premier bloc 4.1
13     "am_lotiss",
14     "am_autre_div",
15     "am_camping",
16     "am_parc_resid_loi",
17     "am_sport_moto",
18     "am_sport_attrac",
19     "am_sport_golf",
20     "am_statio",
21     "am_statio_cont",
22     "am_affou_exhau",
23     "am_affou_exhau_sup",
24     "am_affou_prof",
25     "am_exhau_haut",
26     "am_chem_ouv_esp",
27     "am_agri_peche",
28     "am_crea_voie",
29     "am_modif_voie_exist",
30     "am_crea_esp_sauv",
31     "am_crea_esp_class",
32     "am_projet_desc",
33     "am_terr_surf",
34     "am_tranche_desc",
35    
36     //Autre champ du premier bloc, ancien cerfa
37     "am_caravane",
38     "am_carav_duree",
39     "am_coupe_abat",
40     "am_prot_plu",
41     "am_prot_muni",
42     "am_mobil_voyage",
43     "am_voyage_deb",
44     "am_voyage_fin",
45     "am_aire_voyage",
46     "am_rememb_afu",
47     "am_mob_art",
48     "am_modif_voie_esp",
49     "am_plant_voie_esp",
50     "am_modif_amgt",
51     //Fin autre champ du premier fieldset, ancien cerfa
52     //Fin premier bloc
53    
54     //Début second bloc 4.2
55     "am_lot_max_nb",
56     "am_lot_max_shon",
57     "am_lot_cstr_cos",
58     "am_lot_cstr_plan",
59     "am_lot_cstr_vente",
60     "am_lot_fin_diff",
61     "am_lot_consign",
62     "am_lot_gar_achev",
63     "am_lot_vente_ant",
64    
65     //Autre champ du second bloc, ancien cerfa
66     "am_lot_max_shob",
67     //Fin autre champ du second fieldset, ancien cerfa
68    
69     //Fin second bloc
70    
71     //Début troisième bloc 4.3
72     "am_empl_nb",
73     "am_pers_nb",
74     "am_empl_hll_nb",
75     "am_hll_shon",
76     "am_periode_exploit",
77     "am_exist_agrand",
78    
79     //Autre champ du troisième bloc, ancien cerfa
80     "am_tente_nb",
81     "am_carav_nb",
82     "am_mobil_nb",
83    
84     "am_exist_date",
85     "am_exist_num",
86     "am_exist_nb_avant",
87     "am_exist_nb_apres",
88     "am_coupe_bois",
89     "am_coupe_parc",
90     "am_coupe_align",
91     "am_coupe_ess",
92     "am_coupe_age",
93     "am_coupe_dens",
94     "am_coupe_qual",
95     "am_coupe_trait",
96     "am_coupe_autr",
97     //Fin autre champ du troisième fieldset, ancien cerfa
98    
99     //Fin troisième bloc
100     //Fin premier fieldset
101    
102     //Début second fieldset
103     //Début premier bloc 5.1
104     "co_archi_recours",
105     //Fin premier bloc
106    
107     //Début second bloc 5.2
108     "co_cstr_nouv",
109     "co_cstr_exist",
110     "co_div_terr",
111     "co_projet_desc",
112     "co_elec_tension",
113    
114     //Autre champ du second bloc, ancien cerfa
115     "co_modif_aspect",
116     "co_modif_struct",
117     "co_cloture",
118     "co_ouvr_elec",
119    
120     "co_ouvr_infra",
121     "co_trx_imm",
122    
123     "co_cstr_shob",
124     //Fin autre champ du second fieldset, ancien cerfa
125    
126     //Fin second bloc
127    
128     //Début troisième bloc 5.3
129     "co_tot_log_nb",
130     "co_tot_ind_nb",
131     "co_tot_coll_nb",
132     "co_fin_lls_nb",
133     "co_fin_aa_nb",
134     "co_fin_ptz_nb",
135     "co_fin_autr_nb",
136     "co_fin_autr_desc",
137     "co_uti_pers",
138     "co_uti_vente",
139     "co_uti_loc",
140     "co_uti_princ",
141     "co_uti_secon",
142     "co_anx_pisc",
143     "co_anx_gara",
144     "co_anx_veran",
145     "co_anx_abri",
146     "co_anx_autr",
147     "co_anx_autr_desc",
148     "co_resid_agees",
149     "co_resid_etud",
150     "co_resid_tourism",
151     "co_resid_hot_soc",
152     "co_resid_soc",
153     "co_resid_hand",
154     "co_resid_autr",
155     "co_resid_autr_desc",
156     "co_foyer_chamb_nb",
157     "co_log_1p_nb",
158     "co_log_2p_nb",
159     "co_log_3p_nb",
160     "co_log_4p_nb",
161     "co_log_5p_nb",
162     "co_log_6p_nb",
163     "co_bat_niv_nb",
164     "co_trx_exten",
165     "co_trx_surelev",
166     "co_trx_nivsup",
167    
168     //Autre champ du troisième bloc, ancien cerfa
169     "co_mais_piece_nb",
170     "co_mais_niv_nb",
171    
172     "co_finan1_id",
173     "co_finan1_nb",
174     "co_finan2_id",
175     "co_finan2_nb",
176     "co_finan3_id",
177     "co_finan3_nb",
178     "co_finan4_id",
179     "co_finan4_nb",
180     "co_finan5_id",
181     "co_finan5_nb",
182     "co_mais_contrat_ind",
183    
184     "co_trx_amgt",
185     //Fin autre champ du troisième fieldset, ancien cerfa
186    
187     //Fin troisième bloc
188    
189     //Début quatrième bloc 5.4
190     "co_demont_periode",
191     //Fin quatrième bloc
192    
193     //Début cinquième bloc 5.5
194     "'' as tab_surface",
195     "su_avt_shon1",
196     "su_avt_shon2",
197     "su_avt_shon3",
198     "su_avt_shon4",
199     "su_avt_shon5",
200     "su_avt_shon6",
201     "su_avt_shon7",
202     "su_avt_shon8",
203     "su_avt_shon9",
204     "su_cstr_shon1",
205     "su_cstr_shon2",
206     "su_cstr_shon3",
207     "su_cstr_shon4",
208     "su_cstr_shon5",
209     "su_cstr_shon6",
210     "su_cstr_shon7",
211     "su_cstr_shon8",
212     "su_cstr_shon9",
213     "su_trsf_shon1",
214     "su_trsf_shon2",
215     "su_trsf_shon3",
216     "su_trsf_shon4",
217     "su_trsf_shon5",
218     "su_trsf_shon6",
219     "su_trsf_shon7",
220     "su_trsf_shon8",
221     "su_trsf_shon9",
222     "su_chge_shon1",
223     "su_chge_shon2",
224     "su_chge_shon3",
225     "su_chge_shon4",
226     "su_chge_shon5",
227     "su_chge_shon6",
228     "su_chge_shon7",
229     "su_chge_shon8",
230     "su_chge_shon9",
231     "su_demo_shon1",
232     "su_demo_shon2",
233     "su_demo_shon3",
234     "su_demo_shon4",
235     "su_demo_shon5",
236     "su_demo_shon6",
237     "su_demo_shon7",
238     "su_demo_shon8",
239     "su_demo_shon9",
240     "su_sup_shon1",
241     "su_sup_shon2",
242     "su_sup_shon3",
243     "su_sup_shon4",
244     "su_sup_shon5",
245     "su_sup_shon6",
246     "su_sup_shon7",
247     "su_sup_shon8",
248     "su_sup_shon9",
249     "su_tot_shon1",
250     "su_tot_shon2",
251     "su_tot_shon3",
252     "su_tot_shon4",
253     "su_tot_shon5",
254     "su_tot_shon6",
255     "su_tot_shon7",
256     "su_tot_shon8",
257     "su_tot_shon9",
258     "su_avt_shon_tot",
259     "su_cstr_shon_tot",
260     "su_trsf_shon_tot",
261     "su_chge_shon_tot",
262     "su_demo_shon_tot",
263     "su_sup_shon_tot",
264     "su_tot_shon_tot",
265     //Fin cinquième bloc
266    
267     //Début sixième bloc 5.6
268     "co_sp_transport",
269     "co_sp_enseign",
270     "co_sp_act_soc",
271     "co_sp_ouvr_spe",
272     "co_sp_sante",
273     "co_sp_culture",
274     //Fin sixième bloc
275    
276     //Début septième bloc 5.7
277     "co_statio_avt_nb",
278     "co_statio_apr_nb",
279     "co_statio_adr",
280     "co_statio_place_nb",
281     "co_statio_tot_surf",
282     "co_statio_tot_shob",
283     "co_statio_comm_cin_surf",
284    
285     //Autre champ du septième bloc, ancien cerfa
286     "co_statio_avt_shob",
287     "co_statio_apr_shob",
288     "co_statio_avt_surf",
289     "co_statio_apr_surf",
290     //Fin autre champ du septième fieldset, ancien cerfa
291    
292    
293     //Fin septième bloc
294     //Fin second fieldset
295     //Début troisième fieldset
296     //Début premier bloc
297     "dm_constr_dates",
298     "dm_total",
299     "dm_partiel",
300     "dm_projet_desc",
301     "dm_tot_log_nb",
302     //Fin premier bloc
303     //Fin troisième fieldset
304     "code_cnil");
305     //champs select
306    
307     $tab_surface["13409"] = array(
308     "values" => array(
309     "su_avt_shon1",
310     "su_avt_shon2",
311     "su_avt_shon3",
312     "su_avt_shon4",
313     "su_avt_shon5",
314     "su_avt_shon6",
315     "su_avt_shon7",
316     "su_avt_shon8",
317     "su_avt_shon9",
318     "su_cstr_shon1",
319     "su_cstr_shon2",
320     "su_cstr_shon3",
321     "su_cstr_shon4",
322     "su_cstr_shon5",
323     "su_cstr_shon6",
324     "su_cstr_shon7",
325     "su_cstr_shon8",
326     "su_cstr_shon9",
327     "su_trsf_shon1",
328     "su_trsf_shon2",
329     "su_trsf_shon3",
330     "su_trsf_shon4",
331     "su_trsf_shon5",
332     "su_trsf_shon6",
333     "su_trsf_shon7",
334     "su_trsf_shon8",
335     "su_trsf_shon9",
336     "su_chge_shon1",
337     "su_chge_shon2",
338     "su_chge_shon3",
339     "su_chge_shon4",
340     "su_chge_shon5",
341     "su_chge_shon6",
342     "su_chge_shon7",
343     "su_chge_shon8",
344     "su_chge_shon9",
345     "su_demo_shon1",
346     "su_demo_shon2",
347     "su_demo_shon3",
348     "su_demo_shon4",
349     "su_demo_shon5",
350     "su_demo_shon6",
351     "su_demo_shon7",
352     "su_demo_shon8",
353     "su_demo_shon9",
354     "su_tot_shon1",
355     "su_tot_shon2",
356     "su_tot_shon3",
357     "su_tot_shon4",
358     "su_tot_shon5",
359     "su_tot_shon6",
360     "su_tot_shon7",
361     "su_tot_shon8",
362     "su_tot_shon9",
363     "su_avt_shon_tot",
364     "su_cstr_shon_tot",
365     "su_trsf_shon_tot",
366     "su_chge_shon_tot",
367     "su_demo_shon_tot",
368     "su_sup_shon_tot",
369     "su_tot_shon_tot",
370     ),
371     "column_header" => array(
372     _("Destinations"),
373     _("Surface existante avant travaux (A)"),
374     _("Surface creee (B)"),
375     _("Surface creee par changement de destinatioin (C)"),
376     _("Surface supprimee (D)"),
377     _("Surface supprimee par changement de destination (E)"),
378     _("Surface totale = (A) + (B) + (C) - (D) - (E)"),
379     ),
380     "row_header" => array(
381     _("Habitation"),
382     _("Hebergement hotelier"),
383     _("Bureaux"),
384     _("Commerce"),
385     _("Artisanat"),
386     _("Industrie"),
387     _("Exploitation agricole ou forestiere"),
388     _("Entrepot"),
389     _("Service public ou d'interet collectif"),
390     _("Surfaces totales (m2)"),
391     ),
392     );
393 vpihour 1266
394     // Action : supprimer
395     $portlet_actions['supprimer']['rights'] = array('list' => array('donnees_techniques_supprimer'), 'operator' => 'OR');
396    
397     // Action : edition PDF
398     $portlet_actions['edition'] =
399     array('lien' => '../pdf/pdfetat.php?idx=',
400     'id' => '&amp;obj=donnees_techniques',
401     'lib' => "<span class=\"om-prev-icon om-icon-16 pdf-16\" title=\""._("Edition")."\">"._("Edition")."</span>",
402     'ordre' => 30,
403     'ajax' => false,);
404 vpihour 1249 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26