203 |
$valInstr['nature']=$datd->val[array_search("code", $datd->champs)]; |
$valInstr['nature']=$datd->val[array_search("code", $datd->champs)]; |
204 |
$valInstr['dossier_autorisation_type_detaille']=$this->valF['dossier_autorisation_type_detaille']; |
$valInstr['dossier_autorisation_type_detaille']=$this->valF['dossier_autorisation_type_detaille']; |
205 |
$valInstr['date_depot']=$this->dateDBToForm($this->valF['date_demande']); |
$valInstr['date_depot']=$this->dateDBToForm($this->valF['date_demande']); |
206 |
|
$valInstr['date_demande']=$this->dateDBToForm($this->valF['date_demande']); |
207 |
$valInstr['depot_initial']=$this->dateDBToForm($this->valF['date_demande']); |
$valInstr['depot_initial']=$this->dateDBToForm($this->valF['date_demande']); |
208 |
$valInstr['terrain_references_cadastrales']=$this->valF['terrain_references_cadastrales']; |
$valInstr['terrain_references_cadastrales']=$this->valF['terrain_references_cadastrales']; |
209 |
$valInstr['terrain_adresse_voie_numero']=$this->valF['terrain_adresse_voie_numero']; |
$valInstr['terrain_adresse_voie_numero']=$this->valF['terrain_adresse_voie_numero']; |
626 |
} |
} |
627 |
} |
} |
628 |
|
|
629 |
|
|
630 |
|
/** |
631 |
|
* Surcharge du bouton retour afin de retourner sur la recherche de dossiers |
632 |
|
* d'instruction existant |
633 |
|
*/ |
634 |
|
function retour($premier = 0, $recherche = "", $tricol = "") { |
635 |
|
|
636 |
|
echo "\n<a class=\"retour\" "; |
637 |
|
echo "href=\""; |
638 |
|
// |
639 |
|
if($this->getParameter("idx_dossier") != "") { |
640 |
|
echo "tab.php?"; |
641 |
|
echo "obj=recherche_dossier"; |
642 |
|
|
643 |
|
} else { |
644 |
|
if($this->getParameter("retour")=="form" AND !($this->getParameter("validation")>0 AND $this->getParameter("maj")==2 AND $this->correct)) { |
645 |
|
echo "form.php?"; |
646 |
|
} else { |
647 |
|
echo "tab.php?"; |
648 |
|
} |
649 |
|
echo "obj=".get_class($this); |
650 |
|
if($this->getParameter("retour")=="form") { |
651 |
|
echo "&idx=".$this->getParameter("idx"); |
652 |
|
echo "&action=3"; |
653 |
|
} |
654 |
|
} |
655 |
|
echo "&premier=".$this->getParameter("premier"); |
656 |
|
echo "&tricol=".$this->getParameter("tricol"); |
657 |
|
echo "&recherche=".$this->getParameter("recherche"); |
658 |
|
echo "&selectioncol=".$this->getParameter("selectioncol"); |
659 |
|
echo "&advs_id=".$this->getParameter("advs_id"); |
660 |
|
echo "&valide=".$this->getParameter("valide"); |
661 |
|
// |
662 |
|
echo "\""; |
663 |
|
echo ">"; |
664 |
|
// |
665 |
|
echo _("Retour"); |
666 |
|
// |
667 |
|
echo "</a>\n"; |
668 |
|
|
669 |
|
} |
670 |
|
|
671 |
|
|
672 |
/** |
/** |
673 |
* Ajout de la liste des demandeurs |
* Ajout de la liste des demandeurs |
674 |
*/ |
*/ |