564 |
$form->setType('instructeur', 'selecthiddenstatic'); |
$form->setType('instructeur', 'selecthiddenstatic'); |
565 |
} |
} |
566 |
// |
// |
567 |
if($this->f->getParameter('afficher_division') === 'true') { |
if($this->f->getParameter('option_afficher_division') === 'true') { |
568 |
// |
// |
569 |
if ($this->f->isAccredited("dossier_modifier_division")) { |
if ($this->f->isAccredited("dossier_modifier_division")) { |
570 |
$form->setType('division', 'select'); |
$form->setType('division', 'select'); |
625 |
} |
} |
626 |
|
|
627 |
// |
// |
628 |
if(!$this->f->getParameter('afficher_division') === 'true') { |
if(!$this->f->getParameter('option_afficher_division') === 'true') { |
629 |
$form->setType('division', 'hidden'); |
$form->setType('division', 'hidden'); |
630 |
} |
} |
631 |
$form->setType('dossier_autorisation', 'hidden'); |
$form->setType('dossier_autorisation', 'hidden'); |
645 |
function setVal(&$form,$maj,$validation){ |
function setVal(&$form,$maj,$validation){ |
646 |
$this->maj=$maj; |
$this->maj=$maj; |
647 |
|
|
648 |
if($this->getVal('geom') != "") { |
if($this->getVal('geom') != "" |
649 |
|
&& $this->f->getParameter('option_sig') == 'sig_externe' |
650 |
|
&& $this->f->issetSIGParameter() === true) { |
651 |
$form->setVal('geom', |
$form->setVal('geom', |
652 |
"<a id='action-form-localiser'". |
"<a id='action-form-localiser'". |
653 |
" target='_blank' href='../app/redirect_plan_sig.php?idx=".$this->getVal("dossier")."'>". |
" target='_blank' href='../app/redirect_plan_sig.php?idx=".$this->getVal("dossier")."'>". |
654 |
"<span class='om-icon om-icon-16 om-icon-fix sig-16' title='Localiser'>Localiser</span> ". |
"<span class='om-icon om-icon-16 om-icon-fix sig-16' title='Localiser'>Localiser</span> ". |
655 |
$this->getVal('geom'). |
$this->getVal('geom'). |
656 |
" </a>"); |
" </a>"); |
|
} else { |
|
|
$form->setVal('geom', ''); |
|
657 |
} |
} |
658 |
if ($validation==0) { |
if ($validation==0) { |
659 |
if ($maj == 0){ |
if ($maj == 0){ |
735 |
$form->setSelect("parcelle",$contenu); |
$form->setSelect("parcelle",$contenu); |
736 |
|
|
737 |
} |
} |
738 |
if($this->f->getParameter('afficher_division')==='true') { |
if($this->f->getParameter('option_afficher_division')==='true') { |
739 |
// instructeur |
// instructeur |
740 |
$this->init_select($form, $db, $maj, $debug, "instructeur", |
$this->init_select($form, $db, $maj, $debug, "instructeur", |
741 |
$sql_instructeur_div, $sql_instructeur_div_by_id, false); |
$sql_instructeur_div, $sql_instructeur_div_by_id, false); |
769 |
function setLayout(&$form, $maj) { |
function setLayout(&$form, $maj) { |
770 |
// |
// |
771 |
$form->setBloc('dossier_libelle', 'D', '', ($maj == 3 ? 'col_9':'col_12')); |
$form->setBloc('dossier_libelle', 'D', '', ($maj == 3 ? 'col_9':'col_12')); |
772 |
|
|
773 |
$form->setBloc('dossier_libelle', 'D', '', 'col_9'); |
$form->setBloc('dossier_libelle', 'D', '', 'col_9'); |
774 |
|
|
775 |
$form->setFieldset('dossier_libelle', 'D', _("Dossier d'instruction")); |
$form->setFieldset('dossier_libelle', 'D', _("Dossier d'instruction")); |
776 |
$form->setFieldset('numero_versement_archive', 'F'); |
$form->setFieldset('numero_versement_archive', 'F'); |
777 |
|
//Fieldset "Localisation du terrain" |
778 |
|
// |
779 |
|
$form->setBloc('terrain_adresse_voie_numero','D'); |
780 |
|
$form->setFieldset('terrain_adresse_voie_numero','D',_('Localisation du terrain')); |
781 |
|
|
782 |
|
$form->setBloc('terrain_adresse_voie_numero','D',"","col_6"); |
783 |
|
$form->setBloc('terrain_references_cadastrales','F'); |
784 |
|
|
785 |
|
$form->setBloc('terrain_adresse_voie','D',"","col_6"); |
786 |
|
$form->setBloc('geom','F'); |
787 |
|
|
788 |
$form->setBloc('numero_versement_archive', 'F'); |
$form->setFieldset('geom','F',''); |
789 |
|
$form->setBloc('geom','F'); |
790 |
|
|
791 |
|
$form->setBloc('geom', 'F'); |
792 |
|
|
793 |
$form->setBloc('date_demande', 'D', '', 'col_3'); |
$form->setBloc('date_demande', 'D', '', 'col_3'); |
794 |
|
|
795 |
$form->setFieldset('date_demande', 'D', _("Depot")); |
$form->setFieldset('date_demande', 'D', _("Depot")); |
803 |
|
|
804 |
$form->setBloc('a_qualifier', 'F'); |
$form->setBloc('a_qualifier', 'F'); |
805 |
$form->setBloc('a_qualifier', 'F'); |
$form->setBloc('a_qualifier', 'F'); |
806 |
|
|
807 |
// |
// |
808 |
$form->setBloc('date_complet', 'D', '', 'col_12'); |
$form->setBloc('date_complet', 'D', '', 'col_12'); |
809 |
|
|
824 |
|
|
825 |
$form->setBloc('parcelle','D',"", "col_12"); |
$form->setBloc('parcelle','D',"", "col_12"); |
826 |
$form->setBloc('geom1','F'); |
$form->setBloc('geom1','F'); |
|
|
|
|
//Fieldset "Localisation du terrain" |
|
|
$form->setBloc('terrain_references_cadastrales','D',"","col_12"); |
|
|
$form->setFieldset('terrain_references_cadastrales','D',_('Localisation du terrain')); |
|
|
$form->setFieldset('terrain_superficie','F',''); |
|
|
$form->setBloc('terrain_superficie','F'); |
|
827 |
|
|
828 |
$form->setBloc('description','D',"", "col_12"); |
$form->setBloc('description','D',"", "col_12"); |
829 |
$form->setBloc('servitude','F',''); |
$form->setBloc('servitude','F',''); |