1 |
mbroquet |
3730 |
<?php |
2 |
|
|
//$Id: cerfa.class.php 5856 2016-02-03 11:35:25Z stimezouaght $ |
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 |
|
|
|
14 |
|
|
function setType(&$form,$maj) { |
15 |
|
|
parent::setType($form,$maj); |
16 |
|
|
|
17 |
|
|
|
18 |
|
|
//Ajout des select sur les tableaux |
19 |
|
|
if($maj == 0) { |
20 |
|
|
|
21 |
|
|
$form->setType('tab_surface', 'select'); |
22 |
softime |
4636 |
$form->setType('tab_surface2', 'select'); |
23 |
mbroquet |
3730 |
$form->setType('tab_tax_su_princ', 'select'); |
24 |
|
|
$form->setType('tab_tax_su_heber', 'select'); |
25 |
|
|
$form->setType('tab_tax_su_secon', 'select'); |
26 |
|
|
$form->setType('tab_tax_su_tot', 'select'); |
27 |
|
|
$form->setType('tab_tax_su_non_habit_surf', 'select'); |
28 |
|
|
$form->setType('tab_tax_su_parc_statio_expl_comm', 'select'); |
29 |
|
|
$form->setType('tab_tax_am', 'select'); |
30 |
|
|
$form->setType('tab_erp_eff', 'select'); |
31 |
|
|
}elseif($maj == 1) { |
32 |
|
|
|
33 |
|
|
$form->setType('tab_surface', 'select'); |
34 |
softime |
4636 |
$form->setType('tab_surface2', 'select'); |
35 |
mbroquet |
3730 |
$form->setType('tab_tax_su_princ', 'select'); |
36 |
|
|
$form->setType('tab_tax_su_heber', 'select'); |
37 |
|
|
$form->setType('tab_tax_su_secon', 'select'); |
38 |
|
|
$form->setType('tab_tax_su_tot', 'select'); |
39 |
|
|
$form->setType('tab_tax_su_non_habit_surf', 'select'); |
40 |
|
|
$form->setType('tab_tax_su_parc_statio_expl_comm', 'select'); |
41 |
|
|
$form->setType('tab_tax_am', 'select'); |
42 |
|
|
$form->setType('tab_erp_eff', 'select'); |
43 |
|
|
}elseif($maj == 2) { |
44 |
|
|
|
45 |
|
|
$form->setType('tab_surface', 'selecthiddenstatic'); |
46 |
softime |
4636 |
$form->setType('tab_surface2', 'selecthiddenstatic'); |
47 |
mbroquet |
3730 |
$form->setType('tab_tax_su_princ', 'selecthiddenstatic'); |
48 |
|
|
$form->setType('tab_tax_su_heber', 'selecthiddenstatic'); |
49 |
|
|
$form->setType('tab_tax_su_secon', 'selecthiddenstatic'); |
50 |
|
|
$form->setType('tab_tax_su_tot', 'selecthiddenstatic'); |
51 |
|
|
$form->setType('tab_tax_su_non_habit_surf', 'selecthiddenstatic'); |
52 |
|
|
$form->setType('tab_tax_su_parc_statio_expl_comm', 'selecthiddenstatic'); |
53 |
|
|
$form->setType('tab_tax_am', 'selecthiddenstatic'); |
54 |
|
|
$form->setType('tab_erp_eff', 'selecthiddenstatic'); |
55 |
|
|
}elseif($maj == 3) { |
56 |
|
|
|
57 |
|
|
$form->setType('tab_surface', 'selecthiddenstatic'); |
58 |
softime |
4636 |
$form->setType('tab_surface2', 'selecthiddenstatic'); |
59 |
mbroquet |
3730 |
$form->setType('tab_tax_su_princ', 'selecthiddenstatic'); |
60 |
|
|
$form->setType('tab_tax_su_heber', 'selecthiddenstatic'); |
61 |
|
|
$form->setType('tab_tax_su_secon', 'selecthiddenstatic'); |
62 |
|
|
$form->setType('tab_tax_su_tot', 'selecthiddenstatic'); |
63 |
|
|
$form->setType('tab_tax_su_non_habit_surf', 'selecthiddenstatic'); |
64 |
|
|
$form->setType('tab_tax_su_parc_statio_expl_comm', 'selecthiddenstatic'); |
65 |
|
|
$form->setType('tab_tax_am', 'selecthiddenstatic'); |
66 |
|
|
$form->setType('tab_erp_eff', 'selecthiddenstatic'); |
67 |
|
|
} |
68 |
|
|
$form->setType('co_statio_avt_shob', 'hidden'); |
69 |
|
|
$form->setType('co_statio_apr_shob', 'hidden'); |
70 |
|
|
$form->setType('co_statio_avt_surf', 'hidden'); |
71 |
|
|
$form->setType('co_statio_apr_surf', 'hidden'); |
72 |
|
|
$form->setType('co_trx_amgt', 'hidden'); |
73 |
|
|
$form->setType('co_modif_aspect', 'hidden'); |
74 |
|
|
$form->setType('co_modif_struct', 'hidden'); |
75 |
|
|
$form->setType('co_trx_imm', 'hidden'); |
76 |
|
|
$form->setType('co_cstr_shob', 'hidden'); |
77 |
|
|
$form->setType('am_voyage_deb', 'hidden'); |
78 |
|
|
$form->setType('am_voyage_fin', 'hidden'); |
79 |
|
|
$form->setType('am_modif_amgt', 'hidden'); |
80 |
|
|
$form->setType('am_lot_max_shob', 'hidden'); |
81 |
|
|
$form->setType('mod_desc', 'hidden'); |
82 |
|
|
$form->setType('tr_total', 'hidden'); |
83 |
|
|
$form->setType('tr_partiel', 'hidden'); |
84 |
|
|
$form->setType('tr_desc', 'hidden'); |
85 |
|
|
$form->setType('avap_co_clot', 'hidden'); |
86 |
|
|
$form->setType('avap_aut_coup_aba_arb', 'hidden'); |
87 |
|
|
$form->setType('avap_ouv_infra', 'hidden'); |
88 |
|
|
$form->setType('avap_aut_inst_mob', 'hidden'); |
89 |
|
|
$form->setType('avap_aut_plant', 'hidden'); |
90 |
|
|
$form->setType('avap_aut_auv_elec', 'hidden'); |
91 |
|
|
$form->setType('tax_dest_loc_tr', 'hidden'); |
92 |
|
|
} |
93 |
|
|
|
94 |
|
|
function setSelect(&$form, $maj,&$db,$debug) { |
95 |
|
|
parent::setSelect($form, $maj,$db,$debug); |
96 |
|
|
|
97 |
|
|
if(file_exists ("../sql/".OM_DB_PHPTYPE."/".$this->table.".form.inc.php")) |
98 |
|
|
include ("../sql/".OM_DB_PHPTYPE."/".$this->table.".form.inc.php"); |
99 |
|
|
elseif(file_exists ("../sql/".OM_DB_PHPTYPE."/".$this->table.".form.inc")) |
100 |
|
|
include ("../sql/".OM_DB_PHPTYPE."/".$this->table.".form.inc"); |
101 |
|
|
|
102 |
|
|
// parametrage du tableau de surface |
103 |
|
|
$contenu=array(); |
104 |
|
|
$contenu[0]=array_keys($tab_surface); |
105 |
|
|
$contenu[1]=array_values($tab_surface); |
106 |
|
|
$form->setSelect("tab_surface",$contenu); |
107 |
|
|
|
108 |
softime |
4636 |
$contenu=array(); |
109 |
|
|
$contenu[0]=array_keys($tab_surface2); |
110 |
|
|
$contenu[1]=array_values($tab_surface2); |
111 |
|
|
$form->setSelect("tab_surface2",$contenu); |
112 |
|
|
|
113 |
mbroquet |
3730 |
$contenu[0]=array_keys($tab_tax_su_princ); |
114 |
|
|
$contenu[1]=array_values($tab_tax_su_princ); |
115 |
|
|
$form->setSelect("tab_tax_su_princ",$contenu); |
116 |
|
|
|
117 |
|
|
$contenu[0]=array_keys($tab_tax_su_heber); |
118 |
|
|
$contenu[1]=array_values($tab_tax_su_heber); |
119 |
|
|
$form->setSelect("tab_tax_su_heber",$contenu); |
120 |
|
|
|
121 |
|
|
$contenu[0]=array_keys($tab_tax_su_secon); |
122 |
|
|
$contenu[1]=array_values($tab_tax_su_secon); |
123 |
|
|
$form->setSelect("tab_tax_su_secon",$contenu); |
124 |
|
|
|
125 |
|
|
$contenu[0]=array_keys($tab_tax_su_tot); |
126 |
|
|
$contenu[1]=array_values($tab_tax_su_tot); |
127 |
|
|
$form->setSelect("tab_tax_su_tot",$contenu); |
128 |
|
|
|
129 |
|
|
$contenu[0]=array_keys($tab_tax_su_non_habit_surf); |
130 |
|
|
$contenu[1]=array_values($tab_tax_su_non_habit_surf); |
131 |
|
|
$form->setSelect("tab_tax_su_non_habit_surf",$contenu); |
132 |
|
|
|
133 |
|
|
$contenu=array(); |
134 |
|
|
$contenu[0]=array_keys($tab_tax_su_parc_statio_expl_comm); |
135 |
|
|
$contenu[1]=array_values($tab_tax_su_parc_statio_expl_comm); |
136 |
|
|
$form->setSelect("tab_tax_su_parc_statio_expl_comm",$contenu); |
137 |
|
|
|
138 |
|
|
$contenu[0]=array_keys($tab_tax_am); |
139 |
|
|
$contenu[1]=array_values($tab_tax_am); |
140 |
|
|
$form->setSelect("tab_tax_am",$contenu); |
141 |
|
|
|
142 |
|
|
$contenu=array(); |
143 |
|
|
$contenu[0]=array_keys($tab_erp_eff); |
144 |
|
|
$contenu[1]=array_values($tab_erp_eff); |
145 |
|
|
$form->setSelect("tab_erp_eff", $contenu); |
146 |
|
|
} |
147 |
|
|
|
148 |
|
|
function setLayout(&$form, $maj) { |
149 |
|
|
|
150 |
|
|
/*Fieldset Parametrage du cerfa */ |
151 |
|
|
$form->setBloc('cerfa','D',"","col_12"); |
152 |
|
|
$form->setFieldset('cerfa','D' |
153 |
|
|
,_("Parametrage du cerfa"), "col_12"); |
154 |
|
|
|
155 |
|
|
$form->setFieldset('om_validite_fin','F',''); |
156 |
|
|
$form->setBloc('om_validite_fin','F'); |
157 |
|
|
|
158 |
|
|
// Terrain |
159 |
|
|
|
160 |
|
|
$form->setBloc('terr_juri_titul','D',"","col_12 alignFormSpec"); |
161 |
|
|
$form->setFieldset('terr_juri_titul','D' |
162 |
|
|
,_("Terrain"), "startClosed"); |
163 |
|
|
|
164 |
|
|
$form->setBloc('terr_juri_titul','DF',_("Situation juridique du terrain"), "group"); |
165 |
|
|
$form->setBloc('terr_juri_lot','DF',"", "group"); |
166 |
|
|
$form->setBloc('terr_juri_zac','DF',"", "group"); |
167 |
|
|
$form->setBloc('terr_juri_afu','DF',"", "group"); |
168 |
|
|
$form->setBloc('terr_juri_pup','DF',"", "group"); |
169 |
|
|
$form->setBloc('terr_juri_oin','DF',"", "group"); |
170 |
|
|
$form->setBloc('terr_juri_desc','DF',"", "group"); |
171 |
|
|
$form->setBloc('terr_div_surf_etab','DF',_("Terrain issu d'une division de propriete"), "group"); |
172 |
|
|
$form->setBloc('terr_div_surf_av_div','DF',"", "group"); |
173 |
|
|
|
174 |
|
|
$form->setFieldset('terr_div_surf_av_div','F',''); |
175 |
|
|
|
176 |
|
|
$form->setBloc('terr_div_surf_av_div','F'); |
177 |
|
|
|
178 |
|
|
// Description de la demande / du projet |
179 |
|
|
$form->setFieldset('ope_proj_desc', 'D', |
180 |
|
|
_("Description de la demande / du projet"), "col_12 startClosed"); |
181 |
|
|
$form->setBloc('ope_proj_desc', 'DF', "", "group"); |
182 |
|
|
$form->setBloc('ope_proj_div_co', 'DF', "", "group"); |
183 |
|
|
$form->setBloc('ope_proj_div_contr', 'DF', "", "group"); |
184 |
|
|
$form->setFieldset('ope_proj_div_contr', 'F'); |
185 |
|
|
|
186 |
|
|
// Construire, aménager ou modifier un ERP |
187 |
|
|
$form->setBloc('erp_class_cat','D',"","col_12"); |
188 |
|
|
$form->setFieldset('erp_class_cat','D' |
189 |
|
|
,_("Construire, amenager ou modifier un ERP"), "startClosed alignFormSpec"); |
190 |
|
|
|
191 |
|
|
$form->setBloc('erp_class_cat','DF', _("Activite"),"group"); |
192 |
|
|
$form->setBloc('erp_class_type','DF', "","group"); |
193 |
|
|
|
194 |
|
|
$form->setBloc('erp_cstr_neuve','DF', _("Nature des travaux (plusieurs cases possibles)"),"group"); |
195 |
|
|
$form->setBloc('erp_trvx_acc','DF', "","group"); |
196 |
|
|
$form->setBloc('erp_extension','DF', "","group"); |
197 |
|
|
$form->setBloc('erp_rehab','DF', "","group"); |
198 |
|
|
$form->setBloc('erp_trvx_am','DF', "","group"); |
199 |
|
|
$form->setBloc('erp_vol_nouv_exist','DF', "","group"); |
200 |
|
|
|
201 |
|
|
$form->setBloc('tab_erp_eff','DF', _("Effectif"),"group"); |
202 |
|
|
|
203 |
|
|
$form->setFieldset('tab_erp_eff','F', ''); |
204 |
|
|
$form->setBloc('tab_erp_eff','F'); |
205 |
|
|
|
206 |
|
|
// Aménager |
207 |
|
|
$form->setBloc('am_lotiss','D',"","col_12"); |
208 |
|
|
$form->setFieldset('am_lotiss','D' |
209 |
|
|
,_("Amenager"), "startClosed"); |
210 |
|
|
$form->setBloc('am_lotiss','D',"","col_12"); |
211 |
|
|
$form->setFieldset('am_lotiss','D' |
212 |
|
|
,_("Projet d'amenagement"), "startClosed alignFormSpec"); |
213 |
|
|
// bloc 4.1 |
214 |
|
|
$form->setBloc('am_lotiss','DF',_("Nature des travaux, instalations |
215 |
|
|
ou amenagements envisages"), "group"); |
216 |
|
|
$form->setBloc('am_div_mun','DF',"", "group"); |
217 |
|
|
$form->setBloc('am_autre_div','DF',"", "group"); |
218 |
|
|
$form->setBloc('am_camping','DF',"", "group"); |
219 |
|
|
$form->setBloc('am_parc_resid_loi','DF',"", "group"); |
220 |
|
|
$form->setBloc('am_sport_moto','DF',"", "group"); |
221 |
|
|
$form->setBloc('am_sport_attrac','DF',"", "group"); |
222 |
|
|
$form->setBloc('am_sport_golf','DF',"", "group"); |
223 |
|
|
$form->setBloc('am_caravane','DF',"", "group"); |
224 |
|
|
$form->setBloc('am_carav_duree','DF',"", "group"); |
225 |
|
|
$form->setBloc('am_statio','DF',"", "group"); |
226 |
|
|
$form->setBloc('am_statio_cont','DF',"", "group"); |
227 |
|
|
$form->setBloc('am_affou_exhau','DF',"", "group"); |
228 |
|
|
$form->setBloc('am_affou_exhau_sup','DF',"", "group"); |
229 |
|
|
$form->setBloc('am_affou_prof','DF',"", "group"); |
230 |
|
|
$form->setBloc('am_exhau_haut','DF',"", "group"); |
231 |
softime |
5504 |
$form->setBloc('am_terr_res_demon','DF',"", "group"); |
232 |
|
|
$form->setBloc('am_air_terr_res_mob','DF',"", "group"); |
233 |
mbroquet |
3730 |
|
234 |
|
|
$form->setBloc('am_chem_ouv_esp','D',_("Dans les secteurs proteges :"),"col_12"); |
235 |
|
|
$form->setBloc('am_chem_ouv_esp','DF',_("Amenagement situe dans un espace remarquable :"), "group"); |
236 |
|
|
$form->setBloc('am_agri_peche','DF',"", "group"); |
237 |
|
|
|
238 |
|
|
$form->setBloc('am_crea_voie','DF',_("Amenagement situe dans un secteur sauvegarde :"), "group"); |
239 |
|
|
$form->setBloc('am_modif_voie_exist','DF',"", "group"); |
240 |
|
|
$form->setBloc('am_crea_esp_sauv','DF',"", "group"); |
241 |
|
|
|
242 |
|
|
$form->setBloc('am_crea_esp_class','DF',_("Amenagement situe dans un site classe ou une reserve naturelle 1 :"), "group"); |
243 |
|
|
$form->setBloc('am_coupe_abat','DF',"", "group"); |
244 |
|
|
$form->setBloc('am_prot_plu','DF',"", "group"); |
245 |
|
|
$form->setBloc('am_prot_muni','DF',"", "group"); |
246 |
|
|
$form->setBloc('am_mobil_voyage','DF',"", "group"); |
247 |
|
|
$form->setBloc('am_aire_voyage','DF',"", "group"); |
248 |
|
|
$form->setBloc('am_rememb_afu','DF',"", "group"); |
249 |
|
|
$form->setBloc('co_ouvr_infra','DF',"", "group"); |
250 |
|
|
$form->setBloc('co_ouvr_infra','F'); |
251 |
|
|
|
252 |
|
|
$form->setBloc('am_mob_art','DF',_("Dans un secteur sauvegarde, site classe ou reserve naturelle :"), "group"); |
253 |
|
|
$form->setBloc('am_modif_voie_esp','DF',"", "group"); |
254 |
|
|
$form->setBloc('am_plant_voie_esp','DF',"", "group"); |
255 |
|
|
$form->setBloc('co_ouvr_elec','DF',"", "group"); |
256 |
|
|
$form->setFieldset('co_ouvr_elec','F',''); |
257 |
|
|
$form->setBloc('co_ouvr_elec','F'); |
258 |
|
|
$form->setBloc('am_projet_desc','D',"","col_12"); |
259 |
|
|
$form->setFieldset('am_projet_desc','D' |
260 |
|
|
,_("Description amenagement"), "startClosed alignFormSpec"); |
261 |
|
|
|
262 |
|
|
$form->setBloc('am_projet_desc','DF',"", "group"); |
263 |
|
|
$form->setBloc('am_terr_surf','DF',"", "group"); |
264 |
|
|
$form->setBloc('am_tranche_desc','DF',"", "group"); |
265 |
|
|
|
266 |
|
|
$form->setFieldset('am_tranche_desc','F',''); |
267 |
|
|
$form->setBloc('am_tranche_desc','F'); |
268 |
|
|
$form->setBloc('am_lot_max_nb','D',"","col_12"); |
269 |
|
|
$form->setFieldset('am_lot_max_nb','D' |
270 |
|
|
,_("Complement d'amenagement"), "startClosed"); |
271 |
|
|
// bloc 4.2 |
272 |
|
|
$form->setBloc('am_lot_max_nb','D',_("Demande concernant un lotissement"),"col_12 alignFormSpec"); |
273 |
|
|
|
274 |
|
|
$form->setBloc('am_lot_max_nb','DF',"", "group"); |
275 |
|
|
$form->setBloc('am_lot_max_shon','DF',"", "group"); |
276 |
|
|
|
277 |
|
|
$form->setBloc('am_lot_cstr_cos','DF',_("Comment la constructibilite globale sera-t-elle repartie ?"), "group"); |
278 |
|
|
$form->setBloc('am_lot_cstr_plan','DF',"", "group"); |
279 |
|
|
$form->setBloc('am_lot_cstr_vente','DF',"", "group"); |
280 |
|
|
$form->setBloc('am_lot_fin_diff','DF',"", "group"); |
281 |
|
|
|
282 |
|
|
$form->setBloc('am_lot_consign','DF',_("si oui, quelle garantie sera utilisee ?"), "group"); |
283 |
|
|
$form->setBloc('am_lot_gar_achev','DF',"", "group"); |
284 |
|
|
$form->setBloc('am_lot_vente_ant','DF',"", "group"); |
285 |
|
|
$form->setBloc('am_lot_vente_ant','F'); |
286 |
|
|
|
287 |
|
|
// bloc 4.3 |
288 |
|
|
$form->setBloc('am_exist_agrand','D',_("Amenagement d'un camping ou |
289 |
|
|
d'un terrain amenage en vue de l'hebergement |
290 |
|
|
touristique"),"col_12"); |
291 |
|
|
$form->setBloc('am_exist_agrand','D',"", "alignFormSpec"); |
292 |
|
|
$form->setBloc('am_exist_agrand','DF',"", "group"); |
293 |
|
|
$form->setBloc('am_exist_date','DF',"", "group"); |
294 |
|
|
$form->setBloc('am_exist_num','DF',"", "group"); |
295 |
|
|
$form->setBloc('am_exist_nb_avant','DF',"", "group"); |
296 |
|
|
$form->setBloc('am_exist_nb_apres','DF',"", "group"); |
297 |
|
|
$form->setBloc('am_empl_nb','DF',"", "group"); |
298 |
|
|
$form->setBloc('am_empl_nb','F',"", ""); |
299 |
|
|
|
300 |
|
|
$form->setBloc('am_tente_nb','D',_("Nombre maximum d’emplacements reserves aux :"), "alignForm"); |
301 |
|
|
$form->setBloc('am_mobil_nb','F',"", ""); |
302 |
|
|
|
303 |
|
|
$form->setBloc('am_pers_nb','DF',"", "alignFormSpec group"); |
304 |
|
|
|
305 |
|
|
$form->setBloc('am_empl_hll_nb','D',_("Implantation d’habitations legeres de loisirs (HLL) :"), "alignFormSpec"); |
306 |
|
|
$form->setBloc('am_empl_hll_nb','DF',"", "group"); |
307 |
|
|
$form->setBloc('am_hll_shon','DF',"", "group"); |
308 |
|
|
$form->setBloc('am_periode_exploit','DF',"", "group"); |
309 |
|
|
$form->setBloc('am_periode_exploit','F',"", ""); |
310 |
|
|
|
311 |
|
|
$form->setBloc('am_coupe_bois','D',_("Declaration de coupe et/ou abattage d’arbres :"),"col_12 cerfasubtitle"); |
312 |
|
|
|
313 |
|
|
$form->setBloc('am_coupe_bois','D',_("Courte description du lieu :"), "cerfasubtitle alignForm"); |
314 |
|
|
$form->setBloc('am_coupe_align','F',"", ""); |
315 |
|
|
|
316 |
|
|
$form->setBloc('am_coupe_ess','D',_("Nature du boisement :"),"col_12 cerfasubtitle alignForm"); |
317 |
|
|
$form->setBloc('am_coupe_autr','F'); |
318 |
|
|
$form->setBloc('am_coupe_autr','F'); |
319 |
|
|
$form->setBloc('am_coupe_autr','F'); |
320 |
|
|
|
321 |
|
|
|
322 |
|
|
$form->setFieldset('am_coupe_autr','F',''); |
323 |
|
|
|
324 |
|
|
$form->setBloc('am_coupe_autr','F'); |
325 |
|
|
$form->setFieldset('am_coupe_autr','F',''); |
326 |
|
|
$form->setBloc('am_coupe_autr','F'); |
327 |
|
|
// Fin amménager |
328 |
|
|
// Construire |
329 |
|
|
$form->setBloc('co_archi_recours','D',"","col_12"); |
330 |
|
|
$form->setFieldset('co_archi_recours','D' |
331 |
|
|
,_("Construire"), "startClosed"); |
332 |
|
|
$form->setBloc('co_archi_recours','D', "","col_12"); |
333 |
|
|
$form->setFieldset('co_archi_recours','D' |
334 |
|
|
,_("Projet construction"), "startClosed alignFormSpec"); |
335 |
|
|
|
336 |
|
|
$form->setBloc('co_archi_recours','DF',_("Architecte"), "group"); |
337 |
|
|
$form->setBloc('architecte','DF',"", "group"); |
338 |
|
|
|
339 |
|
|
$form->setBloc('co_cstr_nouv','DF',_("Nature du projet"), "group"); |
340 |
|
|
$form->setBloc('avap_co_elt_pro','DF',"", "group"); |
341 |
|
|
$form->setBloc('avap_nouv_haut_surf','DF',"", "group"); |
342 |
|
|
$form->setBloc('co_cstr_exist','DF',"", "group"); |
343 |
|
|
$form->setBloc('co_div_terr','DF',"", "group"); |
344 |
|
|
$form->setBloc('co_cloture','DF',"", "group"); |
345 |
|
|
$form->setBloc('co_projet_desc','DF',"", "group"); |
346 |
|
|
$form->setBloc('co_elec_tension','DF',"", "group"); |
347 |
|
|
$form->setFieldset('co_elec_tension','F',''); |
348 |
|
|
$form->setFieldset('co_tot_log_nb','D' |
349 |
|
|
,_("Complement construction"), "startClosed"); |
350 |
|
|
|
351 |
|
|
$form->setBloc('co_tot_log_nb','D',"", "alignForm"); |
352 |
|
|
$form->setBloc('co_tot_coll_nb','F',"", ""); |
353 |
|
|
|
354 |
|
|
$form->setBloc('co_mais_piece_nb','D',"", "alignForm"); |
355 |
|
|
$form->setBloc('co_mais_niv_nb','F',"", ""); |
356 |
|
|
|
357 |
|
|
$form->setBloc('co_fin_lls_nb','D', _("Repartition du nombre total de logement crees par type de financement :"),"col_12"); |
358 |
|
|
$form->setBloc('co_fin_lls_nb','D',"", "alignForm"); |
359 |
|
|
$form->setBloc('co_fin_autr_nb','F',"", ""); |
360 |
|
|
|
361 |
|
|
$form->setBloc('co_fin_autr_desc','DF',"", "alignFormSpec group"); |
362 |
|
|
$form->setBloc('co_mais_contrat_ind','DF',"", "alignFormSpec group"); |
363 |
|
|
$form->setBloc('co_mais_contrat_ind','F'); |
364 |
|
|
|
365 |
|
|
$form->setBloc('co_uti_pers','D',_("Mode d'utilisation principale des logements :"), "col_12"); |
366 |
|
|
$form->setBloc('co_uti_pers','D', "", "alignForm"); |
367 |
|
|
$form->setBloc('co_uti_loc','F',"", ""); |
368 |
|
|
$form->setBloc('co_uti_loc','F',"", ""); |
369 |
|
|
|
370 |
|
|
$form->setBloc('co_uti_princ','D',_("S’il s’agit d’une occupation personnelle, veuillez preciser :"), "col_12"); |
371 |
|
|
$form->setBloc('co_uti_princ','D',"", "alignForm"); |
372 |
|
|
$form->setBloc('co_uti_secon','F',"", ""); |
373 |
|
|
$form->setBloc('co_uti_secon','F',"", "group"); |
374 |
|
|
|
375 |
|
|
$form->setBloc('co_anx_pisc','D',_("Si le projet porte sur une annexe a l’habitation, veuillez preciser :"), "col_12"); |
376 |
|
|
$form->setBloc('co_anx_pisc','D',"", "alignForm"); |
377 |
|
|
$form->setBloc('co_anx_autr_desc','F',"", ""); |
378 |
|
|
$form->setBloc('co_anx_autr_desc','F',"", "group"); |
379 |
|
|
|
380 |
|
|
$form->setBloc('co_resid_agees','D',_("Si le projet est un foyer ou une residence, a quel titre :"), "col_12"); |
381 |
|
|
$form->setBloc('co_resid_agees','D',"", "alignForm"); |
382 |
|
|
$form->setBloc('co_resid_hand','F',"", ""); |
383 |
|
|
$form->setBloc('co_resid_hand','F',"", "group"); |
384 |
|
|
|
385 |
|
|
$form->setBloc('co_resid_autr','D',"", "alignFormSpec"); |
386 |
|
|
$form->setBloc('co_foyer_chamb_nb','F',"", ""); |
387 |
|
|
|
388 |
|
|
$form->setBloc('co_log_1p_nb','D',_("Repartition du nombre de logements crees selon le nombre de pieces :"), "col_12"); |
389 |
|
|
$form->setBloc('co_log_1p_nb','D', "", "alignForm"); |
390 |
|
|
$form->setBloc('co_log_6p_nb','F',"", "group"); |
391 |
|
|
$form->setBloc('co_log_6p_nb','F',"", "group"); |
392 |
|
|
|
393 |
|
|
$form->setBloc('co_bat_niv_nb','DF',"", "alignFormSpec"); |
394 |
|
|
|
395 |
|
|
$form->setBloc('co_trx_exten','D',_("Indiquez si vos travaux comprennent notamment :"), "col_12"); |
396 |
|
|
$form->setBloc('co_trx_exten','D',"", "alignForm"); |
397 |
|
|
$form->setBloc('co_trx_nivsup','F',"", "group"); |
398 |
|
|
|
399 |
|
|
$form->setBloc('co_demont_periode','DF', _("Construction periodiquement demontee et re-installee :"),"alignFormSpec group"); |
400 |
|
|
|
401 |
|
|
$form->setBloc('co_demont_periode','F',"", "group"); |
402 |
|
|
$form->setFieldset('co_demont_periode','F',''); |
403 |
|
|
|
404 |
|
|
$form->setFieldset('tab_surface','D' |
405 |
|
|
,_("Destinations et surfaces des constructions"), "startClosed"); |
406 |
softime |
4636 |
$form->setBloc('tab_surface','DF', _("Destination des constructions et tableau des surfaces (uniquement à remplir si votre projet de construction est situé dans une commune couverte par un plan local d’urbanisme ou un document en tenant lieu appliquant l’article R.123-9 du code de l’urbanisme dans sa rédaction antérieure au 1er janvier 2016)."),"alignFormSpec group"); |
407 |
|
|
|
408 |
mbroquet |
3730 |
$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"); |
409 |
|
|
$form->setBloc('co_sp_transport','D', "","alignForm"); |
410 |
|
|
$form->setBloc('co_sp_culture','F', "",""); |
411 |
|
|
$form->setBloc('co_sp_culture','F', "",""); |
412 |
softime |
4636 |
|
413 |
|
|
$form->setBloc('tab_surface2','DF', _("Destination, sous-destination des constructions et tableau des surfaces (uniquement à remplir si votre projet de construction est situé dans une commune couverte par le règlement national d’urbanisme, une carte communale ou dans une commune non visée à la rubrique précédente"),"alignFormSpec group"); |
414 |
|
|
$form->setFieldset('tab_surface2','F',''); |
415 |
|
|
|
416 |
mbroquet |
3730 |
$form->setFieldset('co_statio_avt_nb','D' |
417 |
|
|
,_("Divers construction"), "startClosed"); |
418 |
|
|
$form->setBloc('co_statio_avt_nb','D', _("Nombre de places de stationnement"),"col_12"); |
419 |
|
|
$form->setBloc('co_statio_avt_nb','D', "","alignForm"); |
420 |
|
|
$form->setBloc('co_statio_apr_nb','F', "",""); |
421 |
|
|
$form->setBloc('co_statio_apr_nb','F', "",""); |
422 |
|
|
|
423 |
|
|
$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"); |
424 |
|
|
$form->setBloc('co_statio_adr','DF', "","alignFormSpec"); |
425 |
|
|
|
426 |
|
|
$form->setBloc('co_statio_place_nb','D', "","col_12"); |
427 |
|
|
$form->setBloc('co_statio_place_nb','D', "","alignForm"); |
428 |
|
|
$form->setBloc('co_statio_tot_shob','F', "",""); |
429 |
|
|
$form->setBloc('co_statio_tot_shob','F', "",""); |
430 |
|
|
$form->setBloc('co_statio_tot_shob','F'); |
431 |
|
|
$form->setBloc('co_statio_comm_cin_surf','D', _("Pour les commerces et cinemas :"),"col_12 alignFormSpec"); |
432 |
|
|
$form->setBloc('co_perf_energ','F',"", ""); |
433 |
|
|
$form->setFieldset('co_perf_energ','F',''); |
434 |
|
|
$form->setBloc('co_perf_energ','F'); |
435 |
|
|
|
436 |
|
|
$form->setFieldset('co_perf_energ','F',''); |
437 |
|
|
|
438 |
|
|
$form->setBloc('co_perf_energ','F'); |
439 |
|
|
// Fin construire |
440 |
|
|
|
441 |
|
|
/*Fieldset n°6 Projet necessitant demolitions */ |
442 |
|
|
$form->setBloc('dm_constr_dates','D',"","col_12"); |
443 |
|
|
$form->setFieldset('dm_constr_dates','D' |
444 |
|
|
,_("Demolir"), "startClosed alignFormSpec"); |
445 |
|
|
|
446 |
|
|
$form->setBloc('dm_constr_dates','DF', "","group"); |
447 |
|
|
$form->setBloc('dm_total','DF', "","group"); |
448 |
|
|
$form->setBloc('dm_partiel','DF', "","group"); |
449 |
|
|
$form->setBloc('dm_projet_desc','DF', "","group"); |
450 |
|
|
$form->setBloc('dm_tot_log_nb','DF', "","group"); |
451 |
|
|
$form->setFieldset('dm_tot_log_nb','F',''); |
452 |
|
|
|
453 |
|
|
$form->setBloc('dm_tot_log_nb','F'); |
454 |
|
|
|
455 |
|
|
/*Fieldset n°4 Ouverture de chantier */ |
456 |
|
|
$form->setBloc('doc_date','D',"","col_12"); |
457 |
|
|
$form->setFieldset('doc_date','D' |
458 |
|
|
,_("Ouverture de chantier"), "startClosed alignFormSpec"); |
459 |
|
|
$form->setBloc('doc_date','DF', "","group"); |
460 |
|
|
$form->setBloc('doc_tot_trav','DF', "","group"); |
461 |
|
|
$form->setBloc('doc_tranche_trav','DF', "","group"); |
462 |
|
|
$form->setBloc('doc_tranche_trav_desc','DF', "","group"); |
463 |
|
|
$form->setBloc('doc_surf','DF', "","group"); |
464 |
|
|
$form->setBloc('doc_nb_log','DF', "","group"); |
465 |
|
|
$form->setBloc('doc_nb_log_indiv','DF', "","group"); |
466 |
|
|
$form->setBloc('doc_nb_log_coll','DF', "","group"); |
467 |
|
|
// |
468 |
|
|
$form->setBloc('doc_nb_log_lls','DF', _("Repartition du nombre de logements commences par type de financement"), "group"); |
469 |
|
|
$form->setBloc('doc_nb_log_aa','DF', "","group"); |
470 |
|
|
$form->setBloc('doc_nb_log_ptz','DF', "","group"); |
471 |
|
|
$form->setBloc('doc_nb_log_autre','DF', "","group"); |
472 |
|
|
$form->setFieldset('doc_nb_log_autre','F',''); |
473 |
|
|
$form->setBloc('doc_nb_log_autre','F'); |
474 |
|
|
|
475 |
|
|
/*Fieldset n°4 Achèvement des travaux */ |
476 |
|
|
$form->setBloc('daact_date','D',"","col_12"); |
477 |
|
|
$form->setFieldset('daact_date','D' |
478 |
|
|
,_("Achevement des travaux") , "startClosed alignFormSpec"); |
479 |
|
|
$form->setBloc('daact_date','DF', "","group"); |
480 |
|
|
$form->setBloc('daact_date_chgmt_dest','DF', "","group"); |
481 |
|
|
$form->setBloc('daact_tot_trav','DF', "","group"); |
482 |
|
|
$form->setBloc('daact_tranche_trav','DF', "","group"); |
483 |
|
|
$form->setBloc('daact_tranche_trav_desc','DF', "","group"); |
484 |
|
|
$form->setBloc('daact_surf','DF', "","group"); |
485 |
|
|
$form->setBloc('daact_nb_log','DF', "","group"); |
486 |
|
|
$form->setBloc('daact_nb_log_indiv','DF', "","group"); |
487 |
|
|
$form->setBloc('daact_nb_log_coll','DF', "","group"); |
488 |
|
|
// |
489 |
|
|
$form->setBloc('daact_nb_log_lls','DF', _("Repartition du nombre de logements commences par type de financement"), "group"); |
490 |
|
|
$form->setBloc('daact_nb_log_aa','DF', "","group"); |
491 |
|
|
$form->setBloc('daact_nb_log_ptz','DF', "","group"); |
492 |
|
|
$form->setBloc('daact_nb_log_autre','DF', "","group"); |
493 |
|
|
$form->setFieldset('daact_nb_log_autre','F',''); |
494 |
|
|
$form->setBloc('daact_nb_log_autre','F'); |
495 |
|
|
|
496 |
softime |
4417 |
// Début DIA |
497 |
|
|
$form->setBloc('dia_imm_non_bati','D',"","col_12"); |
498 |
softime |
5169 |
$form->setFieldset('dia_imm_non_bati','D',_("Déclaration d’intention d’aliéner un bien"), "startClosed"); |
499 |
softime |
4417 |
|
500 |
|
|
// Désignation du bien |
501 |
|
|
$form->setFieldset('dia_imm_non_bati','D',_("Désignation du bien"), "startClosed"); |
502 |
|
|
|
503 |
|
|
// Immeuble |
504 |
softime |
5169 |
$form->setBloc('dia_imm_non_bati','D', _("Immeuble"),"alignForm group"); |
505 |
softime |
4417 |
$form->setBloc('dia_imm_bati_terr_autr_desc','F', "",""); |
506 |
|
|
|
507 |
softime |
5169 |
// Occupation du sol en superficie |
508 |
|
|
$form->setBloc('dia_occ_sol_su_terre','D', _("Occupation du sol en superficie (m²)"),"alignForm group"); |
509 |
|
|
$form->setBloc('dia_occ_sol_su_sol','F', "",""); |
510 |
|
|
|
511 |
|
|
// |
512 |
|
|
$form->setBloc('dia_bati_vend_tot','D', " ","alignForm group"); |
513 |
|
|
$form->setBloc('dia_bati_vend_tot_txt','F', "",""); |
514 |
|
|
$form->setBloc('dia_su_co_sol','D', "","alignForm group"); |
515 |
|
|
$form->setBloc('dia_su_util_hab','F', "",""); |
516 |
|
|
$form->setBloc('dia_nb_niv','D', _("Nombre de"),"alignForm group"); |
517 |
|
|
$form->setBloc('dia_nb_autre_loc','F', "",""); |
518 |
|
|
$form->setBloc('dia_vente_lot_volume','D', " ","alignForm group"); |
519 |
|
|
$form->setBloc('dia_vente_lot_volume_txt','F', "",""); |
520 |
|
|
|
521 |
softime |
4417 |
// Copropriété |
522 |
softime |
5169 |
$form->setBloc('dia_bat_copro','D', " ","alignForm group"); |
523 |
|
|
$form->setBloc('dia_bat_copro_desc','F', "",""); |
524 |
|
|
// Tableau lot |
525 |
|
|
$form->setBloc('dia_lot_numero','D', "","alignForm group"); |
526 |
|
|
$form->setBloc('dia_lot_nat_su','F', "",""); |
527 |
|
|
$form->setBloc('dia_lot_bat_achv_plus_10','D', _("Le bâtiment est achevé depuis"),"alignForm group"); |
528 |
|
|
$form->setBloc('dia_lot_bat_achv_moins_10','F', "",""); |
529 |
|
|
$form->setBloc('dia_lot_regl_copro_publ_hypo_plus_10','D', _("Le réglement de copropriété a été publié aux hypothèques depuis"),"alignForm group"); |
530 |
|
|
$form->setBloc('dia_lot_regl_copro_publ_hypo_moins_10','F', "",""); |
531 |
softime |
4417 |
|
532 |
softime |
5169 |
// |
533 |
|
|
$form->setBloc('dia_indivi_quote_part','DF', " ","alignFormSpec"); |
534 |
|
|
$form->setBloc('dia_design_societe','DF', _("Droits sociaux"),"alignFormSpec group"); |
535 |
|
|
$form->setBloc('dia_design_droit','DF', "","alignFormSpec"); |
536 |
|
|
$form->setBloc('dia_droit_soc_nat','D', "","alignForm group"); |
537 |
|
|
$form->setBloc('dia_droit_soc_num_part','F', "",""); |
538 |
softime |
4417 |
|
539 |
softime |
5169 |
$form->setFieldset('dia_droit_soc_num_part','F',''); |
540 |
|
|
|
541 |
softime |
4417 |
// Usage et occupation |
542 |
|
|
$form->setFieldset('dia_us_hab','D',_("Usage et occupation"), "startClosed"); |
543 |
|
|
|
544 |
|
|
// Usage |
545 |
softime |
5169 |
$form->setBloc('dia_us_hab','D', _("Usage"),"alignForm group"); |
546 |
softime |
4417 |
$form->setBloc('dia_us_autre_prec','F', "",""); |
547 |
|
|
|
548 |
|
|
// Occupation |
549 |
softime |
5169 |
$form->setBloc('dia_occ_prop','D', _("Occupation"),"alignForm group"); |
550 |
softime |
4417 |
$form->setBloc('dia_occ_autre_prec','F', "",""); |
551 |
|
|
|
552 |
|
|
$form->setFieldset('dia_occ_autre_prec','F',''); |
553 |
|
|
|
554 |
softime |
5169 |
// Droits réels ou personnels |
555 |
|
|
$form->setFieldset('dia_droit_reel_perso_grevant_bien_oui','D',_("Droits réels ou personnels"), "startClosed"); |
556 |
|
|
|
557 |
|
|
// |
558 |
|
|
$form->setBloc('dia_droit_reel_perso_grevant_bien_oui','D', _("Grevant les biens"),"alignForm group"); |
559 |
|
|
$form->setBloc('dia_droit_reel_perso_grevant_bien_non','F', "",""); |
560 |
|
|
|
561 |
|
|
// |
562 |
|
|
$form->setBloc('dia_droit_reel_perso_nat','D', " ","alignForm group"); |
563 |
|
|
$form->setBloc('dia_droit_reel_perso_viag','F', "",""); |
564 |
|
|
|
565 |
|
|
$form->setFieldset('dia_droit_reel_perso_viag','F',''); |
566 |
|
|
|
567 |
softime |
4417 |
// Modalités de la cession |
568 |
|
|
$form->setFieldset('dia_mod_cess_prix_vente','D',_("Modalités de la cession"), "startClosed"); |
569 |
|
|
|
570 |
|
|
// Vente amiable |
571 |
softime |
5901 |
$form->setFieldset('dia_mod_cess_prix_vente','D', _("Vente amiable"), "startClosed"); |
572 |
|
|
|
573 |
|
|
$form->setBloc('dia_mod_cess_prix_vente','DF', "","alignFormSpec"); |
574 |
softime |
5169 |
$form->setBloc('dia_mod_cess_prix_vente_mob','D', _("Dont éventuellement inclus"),"alignForm group"); |
575 |
softime |
4417 |
$form->setBloc('dia_mod_cess_prix_vente_autre','F', "",""); |
576 |
|
|
|
577 |
softime |
5169 |
// |
578 |
|
|
$form->setBloc('dia_mod_cess_adr','DF', _("Si vente indissociable d'autres biens"),"alignFormSpec"); |
579 |
|
|
|
580 |
softime |
4417 |
// Modalité de paiement |
581 |
softime |
5169 |
$form->setBloc('dia_mod_cess_sign_act_auth','D', _("Modalités de paiement"),"alignForm group"); |
582 |
|
|
$form->setBloc('dia_mod_cess_terme_prec','F', "",""); |
583 |
|
|
$form->setBloc('dia_mod_cess_commi','D', "","alignForm group"); |
584 |
softime |
4417 |
$form->setBloc('dia_mod_cess_commi_ht','F', "",""); |
585 |
softime |
5169 |
$form->setBloc('dia_mod_cess_bene_acquereur','D', _("Bénéficiaire"),"alignForm group"); |
586 |
|
|
$form->setBloc('dia_mod_cess_bene_vendeur','F', "",""); |
587 |
|
|
$form->setBloc('dia_mod_cess_paie_nat','DF', " ","alignFormSpec group"); |
588 |
|
|
$form->setBloc('dia_mod_cess_design_contr_alien','DF', "","alignFormSpec group"); |
589 |
|
|
$form->setBloc('dia_mod_cess_eval_contr','DF', "","alignFormSpec group"); |
590 |
|
|
$form->setBloc('dia_mod_cess_rente_viag','DF', "","alignFormSpec group"); |
591 |
|
|
$form->setBloc('dia_mod_cess_mnt_an','D', "","alignForm group"); |
592 |
|
|
$form->setBloc('dia_mod_cess_mnt_compt','F', "",""); |
593 |
|
|
$form->setBloc('dia_mod_cess_bene_rente','DF', "","alignFormSpec"); |
594 |
|
|
$form->setBloc('dia_mod_cess_droit_usa_hab','D', "","alignForm group"); |
595 |
|
|
$form->setBloc('dia_mod_cess_droit_usa_hab_prec','F', "",""); |
596 |
|
|
$form->setBloc('dia_mod_cess_eval_usa_usufruit','DF', "","alignFormSpec"); |
597 |
|
|
$form->setBloc('dia_mod_cess_vente_nue_prop','D', "","alignForm group"); |
598 |
|
|
$form->setBloc('dia_mod_cess_vente_nue_prop_prec','F', "",""); |
599 |
|
|
$form->setBloc('dia_mod_cess_echange','DF', "","alignFormSpec group"); |
600 |
|
|
$form->setBloc('dia_mod_cess_design_bien_recus_ech','DF', "","alignFormSpec group"); |
601 |
|
|
$form->setBloc('dia_mod_cess_mnt_soulte','D', "","alignForm group"); |
602 |
|
|
$form->setBloc('dia_mod_cess_prop_contre_echan','F', "",""); |
603 |
|
|
$form->setBloc('dia_mod_cess_apport_societe','DF', "","alignFormSpec"); |
604 |
|
|
$form->setBloc('dia_mod_cess_bene','D', "","alignForm group"); |
605 |
|
|
$form->setBloc('dia_mod_cess_esti_bien','F', "",""); |
606 |
|
|
$form->setBloc('dia_mod_cess_cess_terr_loc_co','DF', "","alignFormSpec"); |
607 |
|
|
$form->setBloc('dia_mod_cess_esti_terr','D', "","alignForm group"); |
608 |
|
|
$form->setBloc('dia_mod_cess_esti_loc','F', "",""); |
609 |
|
|
$form->setBloc('dia_mod_cess_esti_imm_loca','DF', "","alignFormSpec"); |
610 |
softime |
5901 |
|
611 |
|
|
$form->setFieldset('dia_mod_cess_esti_imm_loca','F',''); |
612 |
|
|
|
613 |
|
|
// Adjudication |
614 |
|
|
$form->setFieldset('dia_mod_cess_adju_vol','D', _("Adjudication"), "startClosed"); |
615 |
|
|
|
616 |
|
|
$form->setBloc('dia_mod_cess_adju_vol','D', "","alignForm group"); |
617 |
softime |
5169 |
$form->setBloc('dia_mod_cess_adju_obl','F', "",""); |
618 |
|
|
$form->setBloc('dia_mod_cess_adju_fin_indivi','DF', "","alignFormSpec"); |
619 |
|
|
$form->setBloc('dia_mod_cess_adju_date_lieu','D', "","alignForm group"); |
620 |
|
|
$form->setBloc('dia_mod_cess_mnt_mise_prix','F', "",""); |
621 |
softime |
4417 |
|
622 |
softime |
5901 |
$form->setFieldset('dia_mod_cess_mnt_mise_prix','F',''); |
623 |
|
|
|
624 |
softime |
5169 |
$form->setFieldset('dia_mod_cess_mnt_mise_prix','F',''); |
625 |
softime |
4417 |
|
626 |
|
|
// Les soussignés déclarent |
627 |
softime |
5169 |
$form->setFieldset('dia_prop_titu_prix_indique','D',_("Les soussignés déclarent"), "startClosed"); |
628 |
softime |
4417 |
|
629 |
|
|
// |
630 |
softime |
5169 |
$form->setBloc('dia_prop_titu_prix_indique','DF', _("Que le(s) propriétaire(s) nommé(s) à la rubrique 1"),"alignFormSpec group"); |
631 |
|
|
$form->setBloc('dia_prop_recherche_acqu_prix_indique','DF', "","alignFormSpec group"); |
632 |
|
|
$form->setBloc('dia_acquereur_nom_prenom','DF', "","alignFormSpec group"); |
633 |
|
|
$form->setBloc('dia_acquereur_prof','DF', "","alignFormSpec group"); |
634 |
softime |
4417 |
|
635 |
|
|
// Adresse |
636 |
softime |
5169 |
$form->setBloc('dia_acquereur_adr_num_voie','D', _("Adresse"),"alignForm group"); |
637 |
softime |
4417 |
$form->setBloc('dia_acquereur_adr_localite','F', "",""); |
638 |
|
|
|
639 |
softime |
5169 |
// |
640 |
|
|
$form->setBloc('dia_indic_compl_ope','DF', " ","alignFormSpec group"); |
641 |
|
|
$form->setBloc('dia_vente_adju','DF', "","alignFormSpec groupe"); |
642 |
softime |
4417 |
|
643 |
softime |
5169 |
$form->setFieldset('dia_vente_adju','F',''); |
644 |
|
|
|
645 |
softime |
4417 |
// Observation |
646 |
softime |
5901 |
$form->setFieldset('dia_observation','D',_("Observations"), "startClosed"); |
647 |
softime |
4417 |
|
648 |
|
|
// |
649 |
softime |
5169 |
$form->setBloc('dia_observation','DF', "","alignFormSpec group"); |
650 |
softime |
4417 |
|
651 |
|
|
$form->setFieldset('dia_observation','F',''); |
652 |
|
|
|
653 |
|
|
$form->setFieldset('dia_observation','F',''); |
654 |
softime |
5169 |
$form->setBloc('dia_observation','F',"",""); |
655 |
softime |
4417 |
// Fin DIA |
656 |
|
|
|
657 |
mbroquet |
3730 |
$form->setBloc('code_cnil','D',"","col_12"); |
658 |
|
|
$form->setFieldset('code_cnil','D' |
659 |
|
|
,_("cnil (opposition à l’utilisation des informations du formulaire à des fins commerciales)") , "startClosed alignFormSpec"); |
660 |
|
|
$form->setBloc('code_cnil','DF', "","group"); |
661 |
|
|
$form->setFieldset('code_cnil','F',''); |
662 |
|
|
$form->setBloc('code_cnil','F'); |
663 |
|
|
|
664 |
|
|
$form->setBloc('tax_surf_tot_cstr','D',"","col_12"); |
665 |
|
|
$form->setFieldset('tax_surf_tot_cstr','D' |
666 |
|
|
,_("Declaration des elements necessaires au calcul des impositions"), "startClosed alignFormSpec"); |
667 |
|
|
|
668 |
|
|
$form->setBloc('tax_surf_tot_cstr','DF', _("Renseignement"),"group"); |
669 |
|
|
$form->setBloc('tax_surf_tot','DF', "","group"); |
670 |
|
|
$form->setBloc('tax_surf','DF', "","group"); |
671 |
|
|
$form->setBloc('tax_surf_suppr_mod','DF', "","group"); |
672 |
|
|
|
673 |
|
|
$form->setBloc('tab_tax_su_princ','DF', _("Creation de locaux destines a l’habitation :"),"group"); |
674 |
|
|
$form->setBloc('tab_tax_su_secon','DF', "","group"); |
675 |
|
|
$form->setBloc('tab_tax_su_heber','DF', "","group"); |
676 |
|
|
$form->setBloc('tab_tax_su_tot','DF', "","group"); |
677 |
|
|
// |
678 |
|
|
$form->setBloc('tax_ext_pret','DF', _("Extension de l’habitation principale, creation d’un batiment annexe a cette habitation ou d’un garage clos et couvert."), "group"); |
679 |
|
|
$form->setBloc('tax_ext_desc','DF', "","group"); |
680 |
|
|
$form->setBloc('tax_surf_tax_exist_cons','DF', "","group"); |
681 |
|
|
$form->setBloc('tax_log_exist_nb','DF', "","group"); |
682 |
|
|
$form->setBloc('tax_log_ap_trvx_nb','DF', "", "group"); |
683 |
|
|
|
684 |
|
|
// |
685 |
|
|
$form->setBloc('tax_surf_abr_jard_pig_colom','DF', _("Creation d’abris de jardin, de pigeonniers et colombiers"), "group"); |
686 |
|
|
|
687 |
|
|
$form->setBloc('tax_comm_nb','DF', _("Creation ou extension de locaux non destines a l'habitation :"),"group"); |
688 |
|
|
$form->setBloc('tab_tax_su_non_habit_surf','DF', "","group"); |
689 |
|
|
$form->setBloc('tab_tax_am','DF', "","group"); |
690 |
|
|
$form->setBloc('tab_tax_su_parc_statio_expl_comm', 'DF', "", "group"); |
691 |
|
|
$form->setBloc('tax_su_non_habit_abr_jard_pig_colom', 'DF', "", "group"); |
692 |
|
|
|
693 |
|
|
$form->setBloc('tax_am_statio_ext_cr','D', _("Autres elements crees soumis à la taxe d’amenagement :"),"col_12"); |
694 |
|
|
$form->setBloc('tax_pann_volt_sup_cr','F'); |
695 |
|
|
|
696 |
|
|
$form->setBloc('tax_surf_loc_arch','D', _("Redevance d’archeologie preventive"),"col_12 alignFormSpec"); |
697 |
|
|
$form->setBloc('tax_surf_loc_arch','D', _("Veuillez preciser la profondeur du(des) terrassement(s) necessaire(s) a la realisation de votre projet"),""); |
698 |
|
|
$form->setBloc('tax_eol_haut_nb_arch','F'); |
699 |
|
|
$form->setBloc('tax_eol_haut_nb_arch','F'); |
700 |
|
|
|
701 |
|
|
$form->setBloc('tax_trx_presc_ppr','DF', _("Cas particuliers"),"group"); |
702 |
|
|
$form->setBloc('tax_monu_hist','DF', "","group"); |
703 |
|
|
|
704 |
|
|
$form->setBloc('vsd_surf_planch_smd','DF', _("Versement pour sous-densite (VSD)"),"group"); |
705 |
|
|
$form->setBloc('vsd_unit_fonc_sup','DF', "","group"); |
706 |
|
|
$form->setBloc('vsd_unit_fonc_constr_sup','DF', "","group"); |
707 |
|
|
$form->setBloc('vsd_val_terr','DF', "","group"); |
708 |
|
|
$form->setBloc('vsd_const_sxist_non_dem_surf','DF', "","group"); |
709 |
|
|
$form->setBloc('vsd_rescr_fisc','DF', "","group"); |
710 |
|
|
|
711 |
|
|
$form->setBloc('pld_val_terr','DF', _("Plafond legal de densite (PLD)"),"group"); |
712 |
|
|
$form->setBloc('pld_const_exist_dem','DF', "","group"); |
713 |
|
|
$form->setBloc('pld_const_exist_dem_surf','DF', "","group"); |
714 |
|
|
|
715 |
|
|
$form->setBloc('tax_desc','DF', _("Autres renseignements"),"col_12 alignFormSpec"); |
716 |
|
|
$form->setFieldset('tax_desc','F',''); |
717 |
|
|
|
718 |
|
|
$form->setBloc('tax_desc','F'); |
719 |
|
|
} |
720 |
|
|
|
721 |
|
|
function setLib(&$form,$maj) { |
722 |
|
|
parent::setLib($form,$maj); |
723 |
|
|
//libelle des champs |
724 |
|
|
$form->setLib('architecte', _("coordonnees de l'architecte")); |
725 |
|
|
$form->setLib('ope_proj_desc', _("description")); |
726 |
|
|
} |
727 |
|
|
|
728 |
|
|
/** |
729 |
|
|
* Permet de savoir si le cerfa peut calculer la taxe d'aménagement. |
730 |
|
|
* |
731 |
|
|
* @return boolean |
732 |
|
|
*/ |
733 |
|
|
function can_simulate_taxe_amenagement() { |
734 |
|
|
// Liste des champs necessaires à la simulation de la taxe d'aménagement |
735 |
|
|
require_once "../obj/taxe_amenagement.class.php"; |
736 |
|
|
$inst_taxe_amenagement = new taxe_amenagement(0); |
737 |
|
|
$list_fields = $inst_taxe_amenagement->get_list_fields_simulation(); |
738 |
|
|
|
739 |
|
|
// Pour chaque champ |
740 |
|
|
foreach ($list_fields as $field) { |
741 |
|
|
// Si un seul des champs requis n'est pas dans le cerfa |
742 |
|
|
if ($this->getVal($field) == 'f') { |
743 |
|
|
// Retourne faux |
744 |
|
|
return false; |
745 |
|
|
} |
746 |
|
|
} |
747 |
|
|
|
748 |
|
|
// Retourne vrai |
749 |
|
|
return true; |
750 |
|
|
} |
751 |
|
|
|
752 |
nhaye |
4777 |
|
753 |
|
|
/** |
754 |
|
|
* Récupère les champs du CERFA ainsi que leurs valeurs. |
755 |
|
|
* |
756 |
|
|
* @return array $result Tableau associatif |
757 |
|
|
*/ |
758 |
|
|
function get_form_val() { |
759 |
|
|
|
760 |
|
|
// Initialisation du tableau des résultats |
761 |
|
|
$result = array(); |
762 |
|
|
|
763 |
|
|
// Pour chaque champ |
764 |
|
|
foreach ($this->champs as $champ) { |
765 |
|
|
// Récupère sa valeur |
766 |
|
|
$result[$champ] = $this->getVal($champ); |
767 |
|
|
} |
768 |
|
|
|
769 |
|
|
// Retourne le résultat |
770 |
|
|
return $result; |
771 |
|
|
} |
772 |
|
|
|
773 |
|
|
|
774 |
mbroquet |
3730 |
}// fin classe |
775 |
|
|
?> |