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

Annotation of /trunk/obj/cerfa.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2246 - (hide annotations)
Wed Sep 4 15:45:11 2013 UTC (11 years, 5 months ago) by nhaye
File size: 28505 byte(s)
Remise en place des champs de cerfa supprimer qui faisait planter les tests

1 vpihour 1249 <?php
2     //$Id$
3     //gen openMairie le 13/02/2013 14:41
4    
5     require_once ("../gen/obj/cerfa.class.php");
6    
7     class cerfa extends cerfa_gen {
8    
9     function cerfa($id,&$db,$debug) {
10     $this->constructeur($id,$db,$debug);
11     }// fin constructeur
12    
13 nhaye 1258
14     function setType(&$form,$maj) {
15     parent::setType($form,$maj);
16    
17    
18 vpihour 1329 //Ajout des select sur les tableaux
19 nhaye 1258 if($maj == 0) {
20 vpihour 1329
21 nhaye 1258 $form->setType('tab_surface', 'select');
22 vpihour 1329 $form->setType('tab_tax_su_princ', 'select');
23     $form->setType('tab_tax_su_heber', 'select');
24     $form->setType('tab_tax_su_secon', 'select');
25     $form->setType('tab_tax_su_tot', 'select');
26     $form->setType('tab_tax_su_non_habit_surf', 'select');
27     $form->setType('tab_tax_am', 'select');
28 nhaye 1258 }elseif($maj == 1) {
29 vpihour 1329
30 nhaye 1258 $form->setType('tab_surface', 'select');
31 vpihour 1329 $form->setType('tab_tax_su_princ', 'select');
32     $form->setType('tab_tax_su_heber', 'select');
33     $form->setType('tab_tax_su_secon', 'select');
34     $form->setType('tab_tax_su_tot', 'select');
35     $form->setType('tab_tax_su_non_habit_surf', 'select');
36     $form->setType('tab_tax_am', 'select');
37 nhaye 1258 }elseif($maj == 2) {
38 vpihour 1329
39 nhaye 1258 $form->setType('tab_surface', 'selecthiddenstatic');
40 vpihour 1329 $form->setType('tab_tax_su_princ', 'selecthiddenstatic');
41     $form->setType('tab_tax_su_heber', 'selecthiddenstatic');
42     $form->setType('tab_tax_su_secon', 'selecthiddenstatic');
43     $form->setType('tab_tax_su_tot', 'selecthiddenstatic');
44     $form->setType('tab_tax_su_non_habit_surf', 'selecthiddenstatic');
45     $form->setType('tab_tax_am', 'selecthiddenstatic');
46 nhaye 1258 }elseif($maj == 3) {
47 vpihour 1329
48 nhaye 1258 $form->setType('tab_surface', 'selecthiddenstatic');
49 vpihour 1329 $form->setType('tab_tax_su_princ', 'selecthiddenstatic');
50     $form->setType('tab_tax_su_heber', 'selecthiddenstatic');
51     $form->setType('tab_tax_su_secon', 'selecthiddenstatic');
52     $form->setType('tab_tax_su_tot', 'selecthiddenstatic');
53     $form->setType('tab_tax_su_non_habit_surf', 'selecthiddenstatic');
54     $form->setType('tab_tax_am', 'selecthiddenstatic');
55 nhaye 1258 }
56 nhaye 2246 $form->setType('co_statio_avt_shob', 'hidden');
57     $form->setType('co_statio_apr_shob', 'hidden');
58     $form->setType('co_statio_avt_surf', 'hidden');
59     $form->setType('co_statio_apr_surf', 'hidden');
60     $form->setType('co_trx_amgt', 'hidden');
61     $form->setType('co_modif_aspect', 'hidden');
62     $form->setType('co_modif_struct', 'hidden');
63     $form->setType('co_ouvr_elec', 'hidden');
64     $form->setType('co_ouvr_infra', 'hidden');
65     $form->setType('co_trx_imm', 'hidden');
66     $form->setType('co_cstr_shob', 'hidden');
67     $form->setType('am_voyage_deb', 'hidden');
68     $form->setType('am_voyage_fin', 'hidden');
69     $form->setType('am_modif_amgt', 'hidden');
70     $form->setType('am_lot_max_shob', 'hidden');
71     $form->setType('mod_desc', 'hidden');
72     $form->setType('tr_total', 'hidden');
73     $form->setType('tr_partiel', 'hidden');
74     $form->setType('tr_desc', 'hidden');
75     $form->setType('avap_co_elt_pro', 'hidden');
76     $form->setType('avap_nouv_haut_surf', 'hidden');
77     $form->setType('avap_co_clot', 'hidden');
78     $form->setType('avap_aut_coup_aba_arb', 'hidden');
79     $form->setType('avap_ouv_infra', 'hidden');
80     $form->setType('avap_aut_inst_mob', 'hidden');
81     $form->setType('avap_aut_plant', 'hidden');
82     $form->setType('avap_aut_auv_elec', 'hidden');
83     $form->setType('tax_dest_loc_tr', 'hidden');
84 nhaye 1258 }
85    
86     function setSelect(&$form, $maj,&$db,$debug) {
87     parent::setSelect($form, $maj,$db,$debug);
88    
89     if(file_exists ("../sql/".$db->phptype."/".$this->table.".form.inc.php"))
90     include ("../sql/".$db->phptype."/".$this->table.".form.inc.php");
91     elseif(file_exists ("../sql/".$db->phptype."/".$this->table.".form.inc"))
92     include ("../sql/".$db->phptype."/".$this->table.".form.inc");
93    
94     // parametrage du tableau de surface
95     $contenu=array();
96     $contenu[0]=array_keys($tab_surface);
97     $contenu[1]=array_values($tab_surface);
98     $form->setSelect("tab_surface",$contenu);
99    
100 nhaye 1268 $contenu[0]=array_keys($tab_tax_su_princ);
101     $contenu[1]=array_values($tab_tax_su_princ);
102     $form->setSelect("tab_tax_su_princ",$contenu);
103    
104     $contenu[0]=array_keys($tab_tax_su_heber);
105     $contenu[1]=array_values($tab_tax_su_heber);
106     $form->setSelect("tab_tax_su_heber",$contenu);
107    
108     $contenu[0]=array_keys($tab_tax_su_secon);
109     $contenu[1]=array_values($tab_tax_su_secon);
110     $form->setSelect("tab_tax_su_secon",$contenu);
111    
112     $contenu[0]=array_keys($tab_tax_su_tot);
113     $contenu[1]=array_values($tab_tax_su_tot);
114     $form->setSelect("tab_tax_su_tot",$contenu);
115    
116     $contenu[0]=array_keys($tab_tax_su_non_habit_surf);
117     $contenu[1]=array_values($tab_tax_su_non_habit_surf);
118     $form->setSelect("tab_tax_su_non_habit_surf",$contenu);
119    
120     $contenu[0]=array_keys($tab_tax_am);
121     $contenu[1]=array_values($tab_tax_am);
122     $form->setSelect("tab_tax_am",$contenu);
123    
124    
125    
126 nhaye 1258 }
127    
128     function setLayout(&$form, $maj) {
129    
130     /*Fieldset Parametrage du cerfa */
131 nhaye 1268 $form->setBloc('cerfa','D',"","col_12");
132     $form->setFieldset('cerfa','D'
133 vpihour 2123 ,_("Parametrage du cerfa"), "col_12");
134 nhaye 1258
135 nhaye 1263 $form->setFieldset('om_validite_fin','F','');
136     $form->setBloc('om_validite_fin','F');
137 nhaye 1258
138 vpihour 2123 $form->setBloc('terr_juri_titul','D',"","col_12 alignFormSpec");
139 nhaye 1616 $form->setFieldset('terr_juri_titul','D'
140 nhaye 2116 ,_("Terrain"), "startClosed");
141 vpihour 2123
142     $form->setBloc('terr_juri_titul','DF',_("Situation juridique du terrain"), "group");
143     $form->setBloc('terr_juri_lot','DF',"", "group");
144     $form->setBloc('terr_juri_zac','DF',"", "group");
145     $form->setBloc('terr_juri_afu','DF',"", "group");
146     $form->setBloc('terr_juri_pup','DF',"", "group");
147     $form->setBloc('terr_juri_oin','DF',"", "group");
148     $form->setBloc('terr_juri_desc','DF',"", "group");
149     $form->setBloc('terr_div_surf_etab','DF',_("Terrain issu d'une division de propriete"), "group");
150     $form->setBloc('terr_div_surf_av_div','DF',"", "group");
151    
152 nhaye 1616 $form->setFieldset('terr_div_surf_av_div','F','');
153 vpihour 2123
154 nhaye 1616 $form->setBloc('terr_div_surf_av_div','F');
155 nhaye 1268
156 nhaye 2116 // Aménager
157     $form->setBloc('am_lotiss','D',"","col_12");
158     $form->setFieldset('am_lotiss','D'
159     ,_("Amenager"), "startClosed");
160     $form->setBloc('am_lotiss','D',"","col_12");
161     $form->setFieldset('am_lotiss','D'
162 vpihour 2123 ,_("Projet d'amenagement"), "startClosed alignFormSpec");
163 nhaye 2116 // bloc 4.1
164 vpihour 2123 $form->setBloc('am_lotiss','DF',_("Nature des travaux, instalations
165     ou amenagements envisages"), "group");
166     $form->setBloc('am_div_mun','DF',"", "group");
167     $form->setBloc('am_autre_div','DF',"", "group");
168     $form->setBloc('am_camping','DF',"", "group");
169     $form->setBloc('am_parc_resid_loi','DF',"", "group");
170     $form->setBloc('am_sport_moto','DF',"", "group");
171     $form->setBloc('am_sport_attrac','DF',"", "group");
172     $form->setBloc('am_sport_golf','DF',"", "group");
173     $form->setBloc('am_caravane','DF',"", "group");
174     $form->setBloc('am_carav_duree','DF',"", "group");
175     $form->setBloc('am_statio','DF',"", "group");
176     $form->setBloc('am_statio_cont','DF',"", "group");
177     $form->setBloc('am_affou_exhau','DF',"", "group");
178     $form->setBloc('am_affou_exhau_sup','DF',"", "group");
179     $form->setBloc('am_affou_prof','DF',"", "group");
180     $form->setBloc('am_exhau_haut','DF',"", "group");
181    
182 nhaye 2116 $form->setBloc('am_chem_ouv_esp','D',_("Dans les secteurs proteges :"),"col_12");
183 vpihour 2123 $form->setBloc('am_chem_ouv_esp','DF',_("Amenagement situe dans un espace remarquable :"), "group");
184     $form->setBloc('am_agri_peche','DF',"", "group");
185    
186     $form->setBloc('am_crea_voie','DF',_("Amenagement situe dans un secteur sauvegarde :"), "group");
187     $form->setBloc('am_modif_voie_exist','DF',"", "group");
188     $form->setBloc('am_crea_esp_sauv','DF',"", "group");
189    
190     $form->setBloc('am_crea_esp_class','DF',_("Amenagement situe dans un site classe ou une reserve naturelle 1 :"), "group");
191     $form->setBloc('am_coupe_abat','DF',"", "group");
192     $form->setBloc('am_prot_plu','DF',"", "group");
193     $form->setBloc('am_prot_muni','DF',"", "group");
194     $form->setBloc('am_mobil_voyage','DF',"", "group");
195     $form->setBloc('am_aire_voyage','DF',"", "group");
196     $form->setBloc('am_rememb_afu','DF',"", "group");
197 nhaye 2116 $form->setBloc('am_rememb_afu','F');
198 nhaye 1268
199 vpihour 2123 $form->setBloc('am_mob_art','DF',_("Dans un secteur sauvegarde, site classe ou reserve naturelle :"), "group");
200     $form->setBloc('am_modif_voie_esp','DF',"", "group");
201     $form->setBloc('am_plant_voie_esp','DF',"", "group");
202 nhaye 1268
203 nhaye 2116 $form->setFieldset('am_plant_voie_esp','F','');
204     $form->setBloc('am_plant_voie_esp','F');
205     $form->setBloc('am_projet_desc','D',"","col_12");
206     $form->setFieldset('am_projet_desc','D'
207 vpihour 2123 ,_("Description amenagement"), "startClosed alignFormSpec");
208    
209     $form->setBloc('am_projet_desc','DF',"", "group");
210     $form->setBloc('am_terr_surf','DF',"", "group");
211     $form->setBloc('am_tranche_desc','DF',"", "group");
212    
213 nhaye 2116 $form->setFieldset('am_tranche_desc','F','');
214 nhaye 1258 $form->setBloc('am_tranche_desc','F');
215 nhaye 2116 $form->setBloc('am_lot_max_nb','D',"","col_12");
216     $form->setFieldset('am_lot_max_nb','D'
217     ,_("Complement d'amenagement"), "startClosed");
218     // bloc 4.2
219 vpihour 2123 $form->setBloc('am_lot_max_nb','D',_("Demande concernant un lotissement"),"col_12 alignFormSpec");
220    
221     $form->setBloc('am_lot_max_nb','DF',"", "group");
222     $form->setBloc('am_lot_max_shon','DF',"", "group");
223    
224     $form->setBloc('am_lot_cstr_cos','DF',_("Comment la constructibilite globale sera-t-elle repartie ?"), "group");
225     $form->setBloc('am_lot_cstr_plan','DF',"", "group");
226     $form->setBloc('am_lot_cstr_vente','DF',"", "group");
227     $form->setBloc('am_lot_fin_diff','DF',"", "group");
228    
229     $form->setBloc('am_lot_consign','DF',_("si oui, quelle garantie sera utilisee ?"), "group");
230     $form->setBloc('am_lot_gar_achev','DF',"", "group");
231     $form->setBloc('am_lot_vente_ant','DF',"", "group");
232 nhaye 2116 $form->setBloc('am_lot_vente_ant','F');
233 nhaye 1258
234 nhaye 2116 // bloc 4.3
235     $form->setBloc('am_exist_agrand','D',_("Amenagement d'un camping ou
236     d'un terrain amenage en vue de l'hebergement
237     touristique"),"col_12");
238 vpihour 2123 $form->setBloc('am_exist_agrand','D',"", "alignFormSpec");
239     $form->setBloc('am_exist_agrand','DF',"", "group");
240     $form->setBloc('am_exist_date','DF',"", "group");
241     $form->setBloc('am_exist_num','DF',"", "group");
242     $form->setBloc('am_exist_nb_avant','DF',"", "group");
243     $form->setBloc('am_exist_nb_apres','DF',"", "group");
244     $form->setBloc('am_empl_nb','DF',"", "group");
245     $form->setBloc('am_empl_nb','F',"", "");
246    
247     $form->setBloc('am_tente_nb','D',_("Nombre maximum d’emplacements reserves aux :"), "alignForm");
248     $form->setBloc('am_mobil_nb','F',"", "");
249    
250     $form->setBloc('am_pers_nb','DF',"", "alignFormSpec group");
251    
252     $form->setBloc('am_empl_hll_nb','D',_("Implantation d’habitations legeres de loisirs (HLL) :"), "alignFormSpec");
253     $form->setBloc('am_empl_hll_nb','DF',"", "group");
254     $form->setBloc('am_hll_shon','DF',"", "group");
255     $form->setBloc('am_periode_exploit','DF',"", "group");
256     $form->setBloc('am_periode_exploit','F',"", "");
257    
258 nhaye 2116 $form->setBloc('am_coupe_bois','D',_("Declaration de coupe et/ou abattage d’arbres :"),"col_12 cerfasubtitle");
259 vpihour 2123
260     $form->setBloc('am_coupe_bois','D',_("Courte description du lieu :"), "cerfasubtitle alignForm");
261     $form->setBloc('am_coupe_align','F',"", "");
262    
263     $form->setBloc('am_coupe_ess','D',_("Nature du boisement :"),"col_12 cerfasubtitle alignForm");
264 nhaye 2116 $form->setBloc('am_coupe_autr','F');
265     $form->setBloc('am_coupe_autr','F');
266     $form->setBloc('am_coupe_autr','F');
267 nhaye 1258
268    
269 nhaye 2116 $form->setFieldset('am_coupe_autr','F','');
270    
271     $form->setBloc('am_coupe_autr','F');
272 nhaye 1258 $form->setFieldset('am_coupe_autr','F','');
273     $form->setBloc('am_coupe_autr','F');
274 nhaye 2116 // Fin amménager
275     // Construire
276 nhaye 1258 $form->setBloc('co_archi_recours','D',"","col_12");
277     $form->setFieldset('co_archi_recours','D'
278 nhaye 2116 ,_("Construire"), "startClosed");
279     $form->setBloc('co_archi_recours','D', "","col_12");
280     $form->setFieldset('co_archi_recours','D'
281 vpihour 2123 ,_("Projet construction"), "startClosed alignFormSpec");
282    
283     $form->setBloc('co_archi_recours','DF',_("Architecte"), "group");
284     $form->setBloc('architecte','DF',"", "group");
285    
286     $form->setBloc('co_cstr_nouv','DF',_("Nature du projet"), "group");
287     $form->setBloc('co_cstr_exist','DF',"", "group");
288     $form->setBloc('co_div_terr','DF',"", "group");
289     $form->setBloc('co_cloture','DF',"", "group");
290     $form->setBloc('co_projet_desc','DF',"", "group");
291     $form->setBloc('co_elec_tension','DF',"", "group");
292 nhaye 2116 $form->setFieldset('co_elec_tension','F','');
293     $form->setFieldset('co_anx_pisc','D'
294     ,_("Complement construction"), "startClosed");
295 vpihour 2123
296     $form->setBloc('co_anx_pisc','D',"", "alignForm");
297     $form->setBloc('co_anx_autr','F',"", "");
298     $form->setBloc('co_anx_autr_desc','DF',"", "alignFormSpec group");
299    
300     $form->setBloc('co_tot_log_nb','D',"", "alignForm");
301     $form->setBloc('co_tot_coll_nb','F',"", "");
302    
303     $form->setBloc('co_mais_piece_nb','D',"", "alignForm");
304     $form->setBloc('co_mais_niv_nb','F',"", "");
305    
306 nhaye 2116 $form->setBloc('co_fin_lls_nb','D', _("Repartition du nombre total de logement crees par type de financement :"),"col_12");
307 vpihour 2123 $form->setBloc('co_fin_lls_nb','D',"", "alignForm");
308     $form->setBloc('co_fin_autr_nb','F',"", "");
309    
310     $form->setBloc('co_fin_autr_desc','DF',"", "alignFormSpec group");
311     $form->setBloc('co_mais_contrat_ind','DF',"", "alignFormSpec group");
312 nhaye 2116 $form->setBloc('co_mais_contrat_ind','F');
313 vpihour 2123
314     $form->setBloc('co_uti_pers','D',_("Mode d'utilisation principale des logements :"), "col_12");
315     $form->setBloc('co_uti_pers','D', "", "alignForm");
316     $form->setBloc('co_uti_loc','F',"", "");
317     $form->setBloc('co_uti_loc','F',"", "");
318    
319     $form->setBloc('co_uti_princ','D',_("S’il s’agit d’une occupation personnelle, veuillez preciser :"), "col_12");
320     $form->setBloc('co_uti_princ','D',"", "alignForm");
321     $form->setBloc('co_uti_secon','F',"", "");
322     $form->setBloc('co_uti_secon','F',"", "group");
323    
324     $form->setBloc('co_resid_agees','D',_("Si le projet est un foyer ou une residence, a quel titre :"), "col_12");
325     $form->setBloc('co_resid_agees','D',"", "alignForm");
326     $form->setBloc('co_resid_hand','F',"", "");
327     $form->setBloc('co_resid_hand','F',"", "group");
328    
329     $form->setBloc('co_resid_autr','D',"", "alignFormSpec");
330     $form->setBloc('co_foyer_chamb_nb','F',"", "");
331    
332     $form->setBloc('co_log_1p_nb','D',_("Repartition du nombre de logements crees selon le nombre de pieces :"), "col_12");
333     $form->setBloc('co_log_1p_nb','D', "", "alignForm");
334     $form->setBloc('co_log_6p_nb','F',"", "group");
335     $form->setBloc('co_log_6p_nb','F',"", "group");
336    
337     $form->setBloc('co_bat_niv_nb','DF',"", "alignFormSpec");
338    
339     $form->setBloc('co_trx_exten','D',_("Indiquez si vos travaux comprennent notamment :"), "col_12");
340     $form->setBloc('co_trx_exten','D',"", "alignForm");
341     $form->setBloc('co_trx_nivsup','F',"", "group");
342     $form->setBloc('co_trx_nivsup','F',"", "group");
343 nhaye 2116 $form->setFieldset('co_trx_nivsup','F','');
344 vpihour 2123
345 nhaye 2116 $form->setFieldset('tab_surface','D'
346 vpihour 2140 ,_("Destinations et surfaces des constructions"), "startClosed");
347     $form->setBloc('tab_surface','DF', "","alignFormSpec group");
348 vpihour 2123
349     $form->setBloc('co_sp_transport','D', _("Destination des constructions futures en cas de realisation au benefice d'un service public ou d'interet collectif :"),"col_12");
350     $form->setBloc('co_sp_transport','D', "","alignForm");
351     $form->setBloc('co_sp_culture','F', "","");
352     $form->setBloc('co_sp_culture','F', "","");
353 nhaye 2116 $form->setFieldset('co_sp_culture','F','');
354     $form->setFieldset('co_demont_periode','D'
355     ,_("Divers construction"), "startClosed");
356 vpihour 2123 $form->setBloc('co_demont_periode','DF', _("Construction periodiquement demontee et re-installee :"),"alignFormSpec");
357    
358     $form->setBloc('co_statio_avt_nb','D', _("Nombre de places de stationnement"),"col_12");
359     $form->setBloc('co_statio_avt_nb','D', "","alignForm");
360     $form->setBloc('co_statio_apr_nb','F', "","");
361     $form->setBloc('co_statio_apr_nb','F', "","");
362    
363 nhaye 2116 $form->setBloc('co_statio_adr','D', _("Places de stationnement affectees au projet, amenagees ou reservees en dehors du terrain sur lequel est situe le projet"),"col_12");
364 vpihour 2123 $form->setBloc('co_statio_adr','DF', "","alignFormSpec");
365    
366     $form->setBloc('co_statio_place_nb','D', "","col_12");
367     $form->setBloc('co_statio_place_nb','D', "","alignForm");
368     $form->setBloc('co_statio_tot_shob','F', "","");
369     $form->setBloc('co_statio_tot_shob','F', "","");
370 nhaye 2116 $form->setBloc('co_statio_tot_shob','F');
371 vpihour 2123 $form->setBloc('co_statio_comm_cin_surf','D', _("Pour les commerces et cinemas :"),"col_12 alignFormSpec");
372     $form->setBloc('co_perf_energ','F',"", "");
373 nhaye 2116 $form->setFieldset('co_perf_energ','F','');
374     $form->setBloc('co_perf_energ','F');
375 nhaye 1258
376 nhaye 2116 $form->setFieldset('co_perf_energ','F','');
377 nhaye 1258
378 nhaye 2116 $form->setBloc('co_perf_energ','F');
379     // Fin construire
380 nhaye 1258
381     /*Fieldset n°6 Projet necessitant demolitions */
382     $form->setBloc('dm_constr_dates','D',"","col_12");
383     $form->setFieldset('dm_constr_dates','D'
384 vpihour 2123 ,_("Demolir"), "startClosed alignFormSpec");
385    
386     $form->setBloc('dm_constr_dates','DF', "","group");
387     $form->setBloc('dm_total','DF', "","group");
388     $form->setBloc('dm_partiel','DF', "","group");
389     $form->setBloc('dm_projet_desc','DF', "","group");
390     $form->setBloc('dm_tot_log_nb','DF', "","group");
391 nhaye 1258 $form->setFieldset('dm_tot_log_nb','F','');
392    
393     $form->setBloc('dm_tot_log_nb','F');
394 nhaye 1268
395 nhaye 2116 /*Fieldset n°4 Ouverture de chantier */
396     $form->setBloc('doc_date','D',"","col_12");
397     $form->setFieldset('doc_date','D'
398 vpihour 2123 ,_("Ouverture de chantier"), "startClosed alignFormSpec");
399     $form->setBloc('doc_date','DF', "","group");
400     $form->setBloc('doc_tot_trav','DF', "","group");
401     $form->setBloc('doc_tranche_trav','DF', "","group");
402     $form->setBloc('doc_tranche_trav_desc','DF', "","group");
403     $form->setBloc('doc_surf','DF', "","group");
404     $form->setBloc('doc_nb_log','DF', "","group");
405     $form->setBloc('doc_nb_log_indiv','DF', "","group");
406     $form->setBloc('doc_nb_log_coll','DF', "","group");
407     $form->setBloc('doc_nb_log_lls','DF', "","group");
408     $form->setBloc('doc_nb_log_aa','DF', "","group");
409     $form->setBloc('doc_nb_log_ptz','DF', "","group");
410     $form->setBloc('doc_nb_log_autre','DF', "","group");
411 nhaye 2116 $form->setFieldset('doc_nb_log_autre','F','');
412     $form->setBloc('doc_nb_log_autre','F');
413 nhaye 1268
414 nhaye 2116 /*Fieldset n°4 Achèvement des travaux */
415     $form->setBloc('daact_date','D',"","col_12");
416     $form->setFieldset('daact_date','D'
417 vpihour 2123 ,_("Achevement des travaux") , "startClosed alignFormSpec");
418     $form->setBloc('daact_date','DF', "","group");
419     $form->setBloc('daact_date_chgmt_dest','DF', "","group");
420     $form->setBloc('daact_tot_trav','DF', "","group");
421     $form->setBloc('daact_tranche_trav','DF', "","group");
422     $form->setBloc('daact_tranche_trav_desc','DF', "","group");
423     $form->setBloc('daact_surf','DF', "","group");
424     $form->setBloc('daact_nb_log','DF', "","group");
425     $form->setBloc('daact_nb_log_indiv','DF', "","group");
426     $form->setBloc('daact_nb_log_coll','DF', "","group");
427     $form->setBloc('daact_nb_log_lls','DF', "","group");
428     $form->setBloc('daact_nb_log_aa','DF', "","group");
429     $form->setBloc('daact_nb_log_ptz','DF', "","group");
430     $form->setBloc('daact_nb_log_autre','DF', "","group");
431 nhaye 2116 $form->setFieldset('daact_nb_log_autre','F','');
432     $form->setBloc('daact_nb_log_autre','F');
433 nhaye 1268
434 nhaye 2116 $form->setBloc('code_cnil','D',"","col_12");
435     $form->setFieldset('code_cnil','D'
436 vpihour 2123 ,_("cnil (opposition à l’utilisation des informations du formulaire à des fins commerciales)") , "startClosed alignFormSpec");
437     $form->setBloc('code_cnil','DF', "","group");
438 nhaye 2116 $form->setFieldset('code_cnil','F','');
439     $form->setBloc('code_cnil','F');
440 nhaye 1268
441 nhaye 2116 $form->setBloc('tax_surf_tot','D',"","col_12");
442     $form->setFieldset('tax_surf_tot','D'
443 vpihour 2123 ,_("Declaration des elements necessaires au calcul des impositions"), "startClosed alignFormSpec");
444    
445     $form->setBloc('tax_surf_tot','DF', _("Renseignement"),"group");
446     $form->setBloc('tax_surf','DF', "","group");
447     $form->setBloc('tax_surf_suppr_mod','DF', "","group");
448    
449     $form->setBloc('tab_tax_su_princ','DF', _("Creation de locaux destines a l’habitation :"),"group");
450     $form->setBloc('tab_tax_su_heber','DF', "","group");
451     $form->setBloc('tab_tax_su_secon','DF', "","group");
452     $form->setBloc('tab_tax_su_tot','DF', "","group");
453     $form->setBloc('tax_ext_pret','DF', "","group");
454     $form->setBloc('tax_ext_desc','DF', "","group");
455     $form->setBloc('tax_surf_tax_exist_cons','DF', "","group");
456     $form->setBloc('tax_log_exist_nb','DF', "","group");
457 nhaye 1268
458 vpihour 2123 $form->setBloc('tax_comm_nb','DF', _("Creation ou extension de locaux non destines a l'habitation :"),"group");
459     $form->setBloc('tab_tax_su_non_habit_surf','DF', "","group");
460     $form->setBloc('tab_tax_am','DF', "","group");
461    
462     $form->setBloc('tax_trx_presc_ppr','DF', _("Cas particuliers"),"group");
463     $form->setBloc('tax_monu_hist','DF', "","group");
464 nhaye 2116
465 vpihour 2123 $form->setBloc('vsd_surf_planch_smd','DF', _("Versement pour sous-densite (VSD)"),"group");
466     $form->setBloc('vsd_unit_fonc_sup','DF', "","group");
467     $form->setBloc('vsd_unit_fonc_constr_sup','DF', "","group");
468     $form->setBloc('vsd_val_terr','DF', "","group");
469     $form->setBloc('vsd_const_sxist_non_dem_surf','DF', "","group");
470     $form->setBloc('vsd_rescr_fisc','DF', "","group");
471    
472     $form->setBloc('pld_val_terr','DF', _("Plafond legal de densite (PLD)"),"group");
473     $form->setBloc('pld_const_exist_dem','DF', "","group");
474     $form->setBloc('pld_const_exist_dem_surf','DF', "","group");
475 nhaye 1268 $form->setFieldset('pld_const_exist_dem_surf','F','');
476    
477     $form->setBloc('pld_const_exist_dem_surf','F');
478 nhaye 1258 }
479 vpihour 2113
480     function setLib(&$form,$maj) {
481     parent::setLib($form,$maj);
482     //libelle des champs
483     $form->setLib('architecte', _("coordonnees de l'architecte"));
484     }
485 vpihour 1249 }// fin classe
486 nhaye 2116 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26