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

Diff of /trunk/obj/demande.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1106 by vpihour, Fri Dec 21 11:41:14 2012 UTC revision 1140 by nhaye, Thu Jan 3 17:19:08 2013 UTC
# Line 214  class demande extends demande_gen { Line 214  class demande extends demande_gen {
214          $dossier->setDossierInstructionType($dossier_instruction_type);          $dossier->setDossierInstructionType($dossier_instruction_type);
215                    
216          // Définition des valeurs à entrée dans la table          // Définition des valeurs à entrée dans la table
         $valInstr['nature']=$datd->val[array_search("code", $datd->champs)];  
217          $valInstr['dossier_autorisation_type_detaille']=$this->valF['dossier_autorisation_type_detaille'];          $valInstr['dossier_autorisation_type_detaille']=$this->valF['dossier_autorisation_type_detaille'];
218          $valInstr['date_depot']=$this->dateDBToForm($this->valF['date_demande']);          $valInstr['date_depot']=$this->dateDBToForm($this->valF['date_demande']);
219          $valInstr['date_demande']=$this->dateDBToForm($this->valF['date_demande']);          $valInstr['date_demande']=$this->dateDBToForm($this->valF['date_demande']);
# Line 394  class demande extends demande_gen { Line 393  class demande extends demande_gen {
393                  $valInstr['destinataire']=$this->valF['dossier_instruction'];                  $valInstr['destinataire']=$this->valF['dossier_instruction'];
394                  $valInstr['dossier']=$this->valF['dossier_instruction'];                  $valInstr['dossier']=$this->valF['dossier_instruction'];
395                                    
396                  $valInstr['datecourrier']=date("d/m/Y");                  $valInstr['date_evenement']=date("d/m/Y");
397                  $valInstr['evenement']=$evenement;                  $valInstr['evenement']=$evenement;
398                  $valInstr['lettretype']=$lettretype;                  $valInstr['lettretype']=$lettretype;
399                  $valInstr['complement']="";                  $valInstr['complement']="";
# Line 432  class demande extends demande_gen { Line 431  class demande extends demande_gen {
431                  $valInstr['complement14']="";                  $valInstr['complement14']="";
432                  $valInstr['complement15']="";                  $valInstr['complement15']="";
433                  $valInstr['avis_decision']=NULL;                  $valInstr['avis_decision']=NULL;
434                    $valInstr['date_finalisation_courrier']=NULL;
435                    $valInstr['date_envoi_signature']=NULL;
436                    $valInstr['date_retour_signature']=NULL;
437                    $valInstr['date_envoi_rar']=NULL;
438                    $valInstr['date_retour_rar']=NULL;
439                    $valInstr['date_envoi_controle_legalite']=NULL;
440                    $valInstr['date_retour_controle_legalite']=NULL;
441                                                                    
442                  /*Fichier requis*/                  /*Fichier requis*/
443                  require_once '../obj/instruction.class.php';                  require_once '../obj/instruction.class.php';
# Line 721  class demande extends demande_gen { Line 727  class demande extends demande_gen {
727          require_once "../obj/delegataire.class.php";          require_once "../obj/delegataire.class.php";
728          // Affichage du bloc pétitionnaire principal / délégataire          // Affichage du bloc pétitionnaire principal / délégataire
729          // L'ID DU DIV SUIVANT EST NECESSAIRE AU BON FONCTIONNEMENT DU JS          // L'ID DU DIV SUIVANT EST NECESSAIRE AU BON FONCTIONNEMENT DU JS
730          echo "<div id=\"petitionnaire_principal_delegataire\">";          echo "<div id=\"petitionnaire_principal_delegataire col_12\">";
731          // Affichage de la synthèse          // Affichage de la synthèse
732          if (isset ($this->valIdDemandeur["petitionnaire_principal"]) AND          if (isset ($this->valIdDemandeur["petitionnaire_principal"]) AND
733              !empty($this->valIdDemandeur["petitionnaire_principal"])) {              !empty($this->valIdDemandeur["petitionnaire_principal"])) {
# Line 750  class demande extends demande_gen { Line 756  class demande extends demande_gen {
756          // Bouton d'ajout du delegataire          // Bouton d'ajout du delegataire
757          // L'ID DU DIV ET DE L'INPUT SUIVANT EST NECESSAIRE AU BON FONCTIONNEMENT DU JS          // L'ID DU DIV ET DE L'INPUT SUIVANT EST NECESSAIRE AU BON FONCTIONNEMENT DU JS
758          echo "<div id=\"delegataire\">";          echo "<div id=\"delegataire\">";
         if ($maj < 2 OR ($maj == 3 AND !empty($this->valIdDemandeur["delegataire"]))) {  
             echo " <span class=\"om-icon om-icon-16 om-icon-fix arrow-right-16\">  
                     <!-- -->  
                 </span> ";  
         }  
759          // Affichage de la synthèse          // Affichage de la synthèse
760          if (isset ($this->valIdDemandeur["delegataire"]) AND          if (isset ($this->valIdDemandeur["delegataire"]) AND
761              !empty($this->valIdDemandeur["delegataire"])) {              !empty($this->valIdDemandeur["delegataire"])) {
# Line 777  class demande extends demande_gen { Line 778  class demande extends demande_gen {
778                  "</span>";                  "</span>";
779          }          }
780          echo "</div>";          echo "</div>";
781                    echo "<div class=\"both\"></div>";
782          echo "</div>";          echo "</div>";
783          // Bloc des pétitionnaires secondaires          // Bloc des pétitionnaires secondaires
784          // L'ID DU DIV SUIVANT EST NECESSAIRE AU BON FONCTIONNEMENT DU JS          // L'ID DU DIV SUIVANT EST NECESSAIRE AU BON FONCTIONNEMENT DU JS
785          echo "<div id=\"listePetitionnaires\">";          echo "<div id=\"listePetitionnaires col_12\">";
786    
787           // Affichage de la synthèse           // Affichage de la synthèse
788          if (isset ($this->valIdDemandeur["petitionnaire"]) AND          if (isset ($this->valIdDemandeur["petitionnaire"]) AND

Legend:
Removed from v.1106  
changed lines
  Added in v.1140

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26