1 |
<?php |
<?php |
2 |
//$Id$ |
//$Id$ |
3 |
//gen openMairie le 22/07/2013 18:01 |
//gen openMairie le 25/07/2013 15:18 |
4 |
|
|
5 |
require_once ("../obj/om_dbform.class.php"); |
require_once ("../obj/om_dbform.class.php"); |
6 |
|
|
1524 |
} else { |
} else { |
1525 |
$this->valF['code_cnil'] = false; |
$this->valF['code_cnil'] = false; |
1526 |
} |
} |
|
if ($val['co_archi_nom'] == "") { |
|
|
$this->valF['co_archi_nom'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_nom'] = $val['co_archi_nom']; |
|
|
} |
|
|
if ($val['co_archi_prenom'] == "") { |
|
|
$this->valF['co_archi_prenom'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_prenom'] = $val['co_archi_prenom']; |
|
|
} |
|
|
if ($val['co_archi_adr_num'] == "") { |
|
|
$this->valF['co_archi_adr_num'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_adr_num'] = $val['co_archi_adr_num']; |
|
|
} |
|
|
if ($val['co_archi_adr_voie'] == "") { |
|
|
$this->valF['co_archi_adr_voie'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_adr_voie'] = $val['co_archi_adr_voie']; |
|
|
} |
|
|
if ($val['co_archi_adr_lieu_dit'] == "") { |
|
|
$this->valF['co_archi_adr_lieu_dit'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_adr_lieu_dit'] = $val['co_archi_adr_lieu_dit']; |
|
|
} |
|
|
if ($val['co_archi_adr_localite'] == "") { |
|
|
$this->valF['co_archi_adr_localite'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_adr_localite'] = $val['co_archi_adr_localite']; |
|
|
} |
|
|
if ($val['co_archi_adr_cp'] == "") { |
|
|
$this->valF['co_archi_adr_cp'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_adr_cp'] = $val['co_archi_adr_cp']; |
|
|
} |
|
|
if ($val['co_archi_adr_bp'] == "") { |
|
|
$this->valF['co_archi_adr_bp'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_adr_bp'] = $val['co_archi_adr_bp']; |
|
|
} |
|
|
if ($val['co_archi_adr_cedex'] == "") { |
|
|
$this->valF['co_archi_adr_cedex'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_adr_cedex'] = $val['co_archi_adr_cedex']; |
|
|
} |
|
|
if ($val['co_archi_no_incri'] == "") { |
|
|
$this->valF['co_archi_no_incri'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_no_incri'] = $val['co_archi_no_incri']; |
|
|
} |
|
|
if ($val['co_archi_cg'] == "") { |
|
|
$this->valF['co_archi_cg'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_cg'] = $val['co_archi_cg']; |
|
|
} |
|
|
if ($val['co_archi_tel1'] == "") { |
|
|
$this->valF['co_archi_tel1'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_tel1'] = $val['co_archi_tel1']; |
|
|
} |
|
|
if ($val['co_archi_tel2'] == "") { |
|
|
$this->valF['co_archi_tel2'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_tel2'] = $val['co_archi_tel2']; |
|
|
} |
|
|
if ($val['co_archi_mail'] == "") { |
|
|
$this->valF['co_archi_mail'] = NULL; |
|
|
} else { |
|
|
$this->valF['co_archi_mail'] = $val['co_archi_mail']; |
|
|
} |
|
1527 |
if ($val['terr_juri_titul'] == "") { |
if ($val['terr_juri_titul'] == "") { |
1528 |
$this->valF['terr_juri_titul'] = NULL; |
$this->valF['terr_juri_titul'] = NULL; |
1529 |
} else { |
} else { |
1688 |
} else { |
} else { |
1689 |
$this->valF['dossier_autorisation'] = $val['dossier_autorisation']; |
$this->valF['dossier_autorisation'] = $val['dossier_autorisation']; |
1690 |
} |
} |
1691 |
|
if (!is_numeric($val['architecte'])) { |
1692 |
|
$this->valF['architecte'] = NULL; |
1693 |
|
} else { |
1694 |
|
$this->valF['architecte'] = $val['architecte']; |
1695 |
|
} |
1696 |
} |
} |
1697 |
|
|
1698 |
//================================================= |
//================================================= |
2056 |
$form->setType('pld_const_exist_dem','checkbox'); |
$form->setType('pld_const_exist_dem','checkbox'); |
2057 |
$form->setType('pld_const_exist_dem_surf','text'); |
$form->setType('pld_const_exist_dem_surf','text'); |
2058 |
$form->setType('code_cnil','checkbox'); |
$form->setType('code_cnil','checkbox'); |
|
$form->setType('co_archi_nom','text'); |
|
|
$form->setType('co_archi_prenom','text'); |
|
|
$form->setType('co_archi_adr_num','text'); |
|
|
$form->setType('co_archi_adr_voie','text'); |
|
|
$form->setType('co_archi_adr_lieu_dit','text'); |
|
|
$form->setType('co_archi_adr_localite','text'); |
|
|
$form->setType('co_archi_adr_cp','text'); |
|
|
$form->setType('co_archi_adr_bp','text'); |
|
|
$form->setType('co_archi_adr_cedex','text'); |
|
|
$form->setType('co_archi_no_incri','text'); |
|
|
$form->setType('co_archi_cg','text'); |
|
|
$form->setType('co_archi_tel1','text'); |
|
|
$form->setType('co_archi_tel2','text'); |
|
|
$form->setType('co_archi_mail','text'); |
|
2059 |
$form->setType('terr_juri_titul','text'); |
$form->setType('terr_juri_titul','text'); |
2060 |
$form->setType('terr_juri_lot','text'); |
$form->setType('terr_juri_lot','text'); |
2061 |
$form->setType('terr_juri_zac','text'); |
$form->setType('terr_juri_zac','text'); |
2100 |
$form->setType('daact_nb_log_ptz','text'); |
$form->setType('daact_nb_log_ptz','text'); |
2101 |
$form->setType('daact_nb_log_autre','text'); |
$form->setType('daact_nb_log_autre','text'); |
2102 |
$form->setType('mod_desc','textarea'); |
$form->setType('mod_desc','textarea'); |
2103 |
$form->setType('dossier_autorisation','text'); |
|
2104 |
|
if($this->retourformulaire=='dossier_autorisation' |
2105 |
|
and $form->val['dossier_autorisation'] == $this->getParameter('idxformulaire')) { |
2106 |
|
$form->setType('dossier_autorisation','selecthiddenstatic'); |
2107 |
|
} else { |
2108 |
|
$form->setType('dossier_autorisation','select'); |
2109 |
|
} |
2110 |
|
|
2111 |
|
if($this->retourformulaire=='architecte' |
2112 |
|
and $form->val['architecte'] == $this->getParameter('idxformulaire')) { |
2113 |
|
$form->setType('architecte','selecthiddenstatic'); |
2114 |
|
} else { |
2115 |
|
$form->setType('architecte','select'); |
2116 |
|
} |
2117 |
}// fin ajout |
}// fin ajout |
2118 |
if ($maj==1){ //modifier |
if ($maj==1){ //modifier |
2119 |
$form->setType('donnees_techniques','hiddenstatic'); |
$form->setType('donnees_techniques','hiddenstatic'); |
2453 |
$form->setType('pld_const_exist_dem','checkbox'); |
$form->setType('pld_const_exist_dem','checkbox'); |
2454 |
$form->setType('pld_const_exist_dem_surf','text'); |
$form->setType('pld_const_exist_dem_surf','text'); |
2455 |
$form->setType('code_cnil','checkbox'); |
$form->setType('code_cnil','checkbox'); |
|
$form->setType('co_archi_nom','text'); |
|
|
$form->setType('co_archi_prenom','text'); |
|
|
$form->setType('co_archi_adr_num','text'); |
|
|
$form->setType('co_archi_adr_voie','text'); |
|
|
$form->setType('co_archi_adr_lieu_dit','text'); |
|
|
$form->setType('co_archi_adr_localite','text'); |
|
|
$form->setType('co_archi_adr_cp','text'); |
|
|
$form->setType('co_archi_adr_bp','text'); |
|
|
$form->setType('co_archi_adr_cedex','text'); |
|
|
$form->setType('co_archi_no_incri','text'); |
|
|
$form->setType('co_archi_cg','text'); |
|
|
$form->setType('co_archi_tel1','text'); |
|
|
$form->setType('co_archi_tel2','text'); |
|
|
$form->setType('co_archi_mail','text'); |
|
2456 |
$form->setType('terr_juri_titul','text'); |
$form->setType('terr_juri_titul','text'); |
2457 |
$form->setType('terr_juri_lot','text'); |
$form->setType('terr_juri_lot','text'); |
2458 |
$form->setType('terr_juri_zac','text'); |
$form->setType('terr_juri_zac','text'); |
2497 |
$form->setType('daact_nb_log_ptz','text'); |
$form->setType('daact_nb_log_ptz','text'); |
2498 |
$form->setType('daact_nb_log_autre','text'); |
$form->setType('daact_nb_log_autre','text'); |
2499 |
$form->setType('mod_desc','textarea'); |
$form->setType('mod_desc','textarea'); |
2500 |
$form->setType('dossier_autorisation','text'); |
|
2501 |
|
if($this->retourformulaire=='dossier_autorisation' |
2502 |
|
and $form->val['dossier_autorisation'] == $this->getParameter('idxformulaire')) { |
2503 |
|
$form->setType('dossier_autorisation','selecthiddenstatic'); |
2504 |
|
} else { |
2505 |
|
$form->setType('dossier_autorisation','select'); |
2506 |
|
} |
2507 |
|
|
2508 |
|
if($this->retourformulaire=='architecte' |
2509 |
|
and $form->val['architecte'] == $this->getParameter('idxformulaire')) { |
2510 |
|
$form->setType('architecte','selecthiddenstatic'); |
2511 |
|
} else { |
2512 |
|
$form->setType('architecte','select'); |
2513 |
|
} |
2514 |
}// fin modifier |
}// fin modifier |
2515 |
if ($maj==2){ //supprimer |
if ($maj==2){ //supprimer |
2516 |
$form->setType('donnees_techniques','hiddenstatic'); |
$form->setType('donnees_techniques','hiddenstatic'); |
2826 |
$form->setType('pld_const_exist_dem','hiddenstatic'); |
$form->setType('pld_const_exist_dem','hiddenstatic'); |
2827 |
$form->setType('pld_const_exist_dem_surf','hiddenstatic'); |
$form->setType('pld_const_exist_dem_surf','hiddenstatic'); |
2828 |
$form->setType('code_cnil','hiddenstatic'); |
$form->setType('code_cnil','hiddenstatic'); |
|
$form->setType('co_archi_nom','hiddenstatic'); |
|
|
$form->setType('co_archi_prenom','hiddenstatic'); |
|
|
$form->setType('co_archi_adr_num','hiddenstatic'); |
|
|
$form->setType('co_archi_adr_voie','hiddenstatic'); |
|
|
$form->setType('co_archi_adr_lieu_dit','hiddenstatic'); |
|
|
$form->setType('co_archi_adr_localite','hiddenstatic'); |
|
|
$form->setType('co_archi_adr_cp','hiddenstatic'); |
|
|
$form->setType('co_archi_adr_bp','hiddenstatic'); |
|
|
$form->setType('co_archi_adr_cedex','hiddenstatic'); |
|
|
$form->setType('co_archi_no_incri','hiddenstatic'); |
|
|
$form->setType('co_archi_cg','hiddenstatic'); |
|
|
$form->setType('co_archi_tel1','hiddenstatic'); |
|
|
$form->setType('co_archi_tel2','hiddenstatic'); |
|
|
$form->setType('co_archi_mail','hiddenstatic'); |
|
2829 |
$form->setType('terr_juri_titul','hiddenstatic'); |
$form->setType('terr_juri_titul','hiddenstatic'); |
2830 |
$form->setType('terr_juri_lot','hiddenstatic'); |
$form->setType('terr_juri_lot','hiddenstatic'); |
2831 |
$form->setType('terr_juri_zac','hiddenstatic'); |
$form->setType('terr_juri_zac','hiddenstatic'); |
2861 |
$form->setType('daact_nb_log_ptz','hiddenstatic'); |
$form->setType('daact_nb_log_ptz','hiddenstatic'); |
2862 |
$form->setType('daact_nb_log_autre','hiddenstatic'); |
$form->setType('daact_nb_log_autre','hiddenstatic'); |
2863 |
$form->setType('mod_desc','hiddenstatic'); |
$form->setType('mod_desc','hiddenstatic'); |
2864 |
$form->setType('dossier_autorisation','hiddenstatic'); |
$form->setType('dossier_autorisation','selectstatic'); |
2865 |
|
$form->setType('architecte','selectstatic'); |
2866 |
}//fin supprimer |
}//fin supprimer |
2867 |
if ($maj==3){ //consulter |
if ($maj==3){ //consulter |
2868 |
$form->setType('donnees_techniques','static'); |
$form->setType('donnees_techniques','static'); |
3178 |
$form->setType('pld_const_exist_dem','checkboxstatic'); |
$form->setType('pld_const_exist_dem','checkboxstatic'); |
3179 |
$form->setType('pld_const_exist_dem_surf','static'); |
$form->setType('pld_const_exist_dem_surf','static'); |
3180 |
$form->setType('code_cnil','checkboxstatic'); |
$form->setType('code_cnil','checkboxstatic'); |
|
$form->setType('co_archi_nom','static'); |
|
|
$form->setType('co_archi_prenom','static'); |
|
|
$form->setType('co_archi_adr_num','static'); |
|
|
$form->setType('co_archi_adr_voie','static'); |
|
|
$form->setType('co_archi_adr_lieu_dit','static'); |
|
|
$form->setType('co_archi_adr_localite','static'); |
|
|
$form->setType('co_archi_adr_cp','static'); |
|
|
$form->setType('co_archi_adr_bp','static'); |
|
|
$form->setType('co_archi_adr_cedex','static'); |
|
|
$form->setType('co_archi_no_incri','static'); |
|
|
$form->setType('co_archi_cg','static'); |
|
|
$form->setType('co_archi_tel1','static'); |
|
|
$form->setType('co_archi_tel2','static'); |
|
|
$form->setType('co_archi_mail','static'); |
|
3181 |
$form->setType('terr_juri_titul','static'); |
$form->setType('terr_juri_titul','static'); |
3182 |
$form->setType('terr_juri_lot','static'); |
$form->setType('terr_juri_lot','static'); |
3183 |
$form->setType('terr_juri_zac','static'); |
$form->setType('terr_juri_zac','static'); |
3213 |
$form->setType('daact_nb_log_ptz','static'); |
$form->setType('daact_nb_log_ptz','static'); |
3214 |
$form->setType('daact_nb_log_autre','static'); |
$form->setType('daact_nb_log_autre','static'); |
3215 |
$form->setType('mod_desc','textareastatic'); |
$form->setType('mod_desc','textareastatic'); |
3216 |
$form->setType('dossier_autorisation','static'); |
$form->setType('dossier_autorisation','selectstatic'); |
3217 |
|
$form->setType('architecte','selectstatic'); |
3218 |
}//fin consulter |
}//fin consulter |
3219 |
} |
} |
3220 |
|
|
3439 |
$form->setOnchange('daact_nb_log_aa','VerifNum(this)'); |
$form->setOnchange('daact_nb_log_aa','VerifNum(this)'); |
3440 |
$form->setOnchange('daact_nb_log_ptz','VerifNum(this)'); |
$form->setOnchange('daact_nb_log_ptz','VerifNum(this)'); |
3441 |
$form->setOnchange('daact_nb_log_autre','VerifNum(this)'); |
$form->setOnchange('daact_nb_log_autre','VerifNum(this)'); |
3442 |
|
$form->setOnchange('architecte','VerifNum(this)'); |
3443 |
} |
} |
3444 |
/** |
/** |
3445 |
* Methode setTaille |
* Methode setTaille |
3758 |
$form->setTaille("pld_const_exist_dem", 1); |
$form->setTaille("pld_const_exist_dem", 1); |
3759 |
$form->setTaille("pld_const_exist_dem_surf", 10); |
$form->setTaille("pld_const_exist_dem_surf", 10); |
3760 |
$form->setTaille("code_cnil", 1); |
$form->setTaille("code_cnil", 1); |
|
$form->setTaille("co_archi_nom", 30); |
|
|
$form->setTaille("co_archi_prenom", 30); |
|
|
$form->setTaille("co_archi_adr_num", 10); |
|
|
$form->setTaille("co_archi_adr_voie", 30); |
|
|
$form->setTaille("co_archi_adr_lieu_dit", 30); |
|
|
$form->setTaille("co_archi_adr_localite", 30); |
|
|
$form->setTaille("co_archi_adr_cp", 10); |
|
|
$form->setTaille("co_archi_adr_bp", 10); |
|
|
$form->setTaille("co_archi_adr_cedex", 10); |
|
|
$form->setTaille("co_archi_no_incri", 30); |
|
|
$form->setTaille("co_archi_cg", 30); |
|
|
$form->setTaille("co_archi_tel1", 10); |
|
|
$form->setTaille("co_archi_tel2", 10); |
|
|
$form->setTaille("co_archi_mail", 30); |
|
3761 |
$form->setTaille("terr_juri_titul", 20); |
$form->setTaille("terr_juri_titul", 20); |
3762 |
$form->setTaille("terr_juri_lot", 20); |
$form->setTaille("terr_juri_lot", 20); |
3763 |
$form->setTaille("terr_juri_zac", 20); |
$form->setTaille("terr_juri_zac", 20); |
3794 |
$form->setTaille("daact_nb_log_autre", 11); |
$form->setTaille("daact_nb_log_autre", 11); |
3795 |
$form->setTaille("mod_desc", 80); |
$form->setTaille("mod_desc", 80); |
3796 |
$form->setTaille("dossier_autorisation", 20); |
$form->setTaille("dossier_autorisation", 20); |
3797 |
|
$form->setTaille("architecte", 11); |
3798 |
} |
} |
3799 |
|
|
3800 |
/** |
/** |
4114 |
$form->setMax("pld_const_exist_dem", 1); |
$form->setMax("pld_const_exist_dem", 1); |
4115 |
$form->setMax("pld_const_exist_dem_surf", -5); |
$form->setMax("pld_const_exist_dem_surf", -5); |
4116 |
$form->setMax("code_cnil", 1); |
$form->setMax("code_cnil", 1); |
|
$form->setMax("co_archi_nom", 80); |
|
|
$form->setMax("co_archi_prenom", 80); |
|
|
$form->setMax("co_archi_adr_num", 10); |
|
|
$form->setMax("co_archi_adr_voie", 80); |
|
|
$form->setMax("co_archi_adr_lieu_dit", 80); |
|
|
$form->setMax("co_archi_adr_localite", 80); |
|
|
$form->setMax("co_archi_adr_cp", 5); |
|
|
$form->setMax("co_archi_adr_bp", 3); |
|
|
$form->setMax("co_archi_adr_cedex", 2); |
|
|
$form->setMax("co_archi_no_incri", 40); |
|
|
$form->setMax("co_archi_cg", 80); |
|
|
$form->setMax("co_archi_tel1", 10); |
|
|
$form->setMax("co_archi_tel2", 10); |
|
|
$form->setMax("co_archi_mail", 150); |
|
4117 |
$form->setMax("terr_juri_titul", 20); |
$form->setMax("terr_juri_titul", 20); |
4118 |
$form->setMax("terr_juri_lot", 20); |
$form->setMax("terr_juri_lot", 20); |
4119 |
$form->setMax("terr_juri_zac", 20); |
$form->setMax("terr_juri_zac", 20); |
4150 |
$form->setMax("daact_nb_log_autre", 11); |
$form->setMax("daact_nb_log_autre", 11); |
4151 |
$form->setMax("mod_desc", 6); |
$form->setMax("mod_desc", 6); |
4152 |
$form->setMax("dossier_autorisation", 20); |
$form->setMax("dossier_autorisation", 20); |
4153 |
|
$form->setMax("architecte", 11); |
4154 |
} |
} |
4155 |
|
|
4156 |
|
|
4469 |
$form->setLib('pld_const_exist_dem',_('pld_const_exist_dem')); |
$form->setLib('pld_const_exist_dem',_('pld_const_exist_dem')); |
4470 |
$form->setLib('pld_const_exist_dem_surf',_('pld_const_exist_dem_surf')); |
$form->setLib('pld_const_exist_dem_surf',_('pld_const_exist_dem_surf')); |
4471 |
$form->setLib('code_cnil',_('code_cnil')); |
$form->setLib('code_cnil',_('code_cnil')); |
|
$form->setLib('co_archi_nom',_('co_archi_nom')); |
|
|
$form->setLib('co_archi_prenom',_('co_archi_prenom')); |
|
|
$form->setLib('co_archi_adr_num',_('co_archi_adr_num')); |
|
|
$form->setLib('co_archi_adr_voie',_('co_archi_adr_voie')); |
|
|
$form->setLib('co_archi_adr_lieu_dit',_('co_archi_adr_lieu_dit')); |
|
|
$form->setLib('co_archi_adr_localite',_('co_archi_adr_localite')); |
|
|
$form->setLib('co_archi_adr_cp',_('co_archi_adr_cp')); |
|
|
$form->setLib('co_archi_adr_bp',_('co_archi_adr_bp')); |
|
|
$form->setLib('co_archi_adr_cedex',_('co_archi_adr_cedex')); |
|
|
$form->setLib('co_archi_no_incri',_('co_archi_no_incri')); |
|
|
$form->setLib('co_archi_cg',_('co_archi_cg')); |
|
|
$form->setLib('co_archi_tel1',_('co_archi_tel1')); |
|
|
$form->setLib('co_archi_tel2',_('co_archi_tel2')); |
|
|
$form->setLib('co_archi_mail',_('co_archi_mail')); |
|
4472 |
$form->setLib('terr_juri_titul',_('terr_juri_titul')); |
$form->setLib('terr_juri_titul',_('terr_juri_titul')); |
4473 |
$form->setLib('terr_juri_lot',_('terr_juri_lot')); |
$form->setLib('terr_juri_lot',_('terr_juri_lot')); |
4474 |
$form->setLib('terr_juri_zac',_('terr_juri_zac')); |
$form->setLib('terr_juri_zac',_('terr_juri_zac')); |
4505 |
$form->setLib('daact_nb_log_autre',_('daact_nb_log_autre')); |
$form->setLib('daact_nb_log_autre',_('daact_nb_log_autre')); |
4506 |
$form->setLib('mod_desc',_('mod_desc')); |
$form->setLib('mod_desc',_('mod_desc')); |
4507 |
$form->setLib('dossier_autorisation',_('dossier_autorisation')); |
$form->setLib('dossier_autorisation',_('dossier_autorisation')); |
4508 |
|
$form->setLib('architecte',_('architecte')); |
4509 |
} |
} |
4510 |
|
|
4511 |
function setSelect(&$form, $maj,&$db,$debug) { |
function setSelect(&$form, $maj,&$db,$debug) { |
4514 |
elseif(file_exists ("../sql/".$db->phptype."/".$this->table.".form.inc")) |
elseif(file_exists ("../sql/".$db->phptype."/".$this->table.".form.inc")) |
4515 |
include ("../sql/".$db->phptype."/".$this->table.".form.inc"); |
include ("../sql/".$db->phptype."/".$this->table.".form.inc"); |
4516 |
|
|
4517 |
|
// architecte |
4518 |
|
$this->init_select($form, $db, $maj, $debug, "architecte", |
4519 |
|
$sql_architecte, $sql_architecte_by_id, false); |
4520 |
|
|
4521 |
|
// dossier_autorisation |
4522 |
|
$this->init_select($form, $db, $maj, $debug, "dossier_autorisation", |
4523 |
|
$sql_dossier_autorisation, $sql_dossier_autorisation_by_id, false); |
4524 |
|
|
4525 |
// dossier_instruction |
// dossier_instruction |
4526 |
$this->init_select($form, $db, $maj, $debug, "dossier_instruction", |
$this->init_select($form, $db, $maj, $debug, "dossier_instruction", |
4527 |
$sql_dossier_instruction, $sql_dossier_instruction_by_id, false); |
$sql_dossier_instruction, $sql_dossier_instruction_by_id, false); |
4538 |
function setValsousformulaire(&$form,$maj,$validation,$idxformulaire,$retourformulaire,$typeformulaire,&$db,$DEBUG=null){ |
function setValsousformulaire(&$form,$maj,$validation,$idxformulaire,$retourformulaire,$typeformulaire,&$db,$DEBUG=null){ |
4539 |
$this->retourformulaire = $retourformulaire; |
$this->retourformulaire = $retourformulaire; |
4540 |
if($validation == 0) { |
if($validation == 0) { |
4541 |
|
if($retourformulaire =='architecte') |
4542 |
|
$form->setVal('architecte', $idxformulaire); |
4543 |
|
if($retourformulaire =='dossier_autorisation') |
4544 |
|
$form->setVal('dossier_autorisation', $idxformulaire); |
4545 |
if($retourformulaire =='dossier') |
if($retourformulaire =='dossier') |
4546 |
$form->setVal('dossier_instruction', $idxformulaire); |
$form->setVal('dossier_instruction', $idxformulaire); |
4547 |
if($retourformulaire =='lot') |
if($retourformulaire =='lot') |