/[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 1403 by fmichon, Wed Mar 13 14:05:15 2013 UTC revision 1404 by nhaye, Thu Mar 14 16:14:04 2013 UTC
# Line 59  class demande extends demande_gen { Line 59  class demande extends demande_gen {
59              }              }
60          }          }
61      }      }
62        function getDataSubmit() {
63    
64            $datasubmit = parent::getDataSubmit();
65            if($this->getParameter("idx_dossier") != "") {
66                $datasubmit .= "&idx_dossier=".$this->getParameter("idx_dossier");
67            }
68            return $datasubmit;
69        }
70            
71      /**      /**
72       * Méthode de verification du contenu       * Méthode de verification du contenu
# Line 136  class demande extends demande_gen { Line 144  class demande extends demande_gen {
144          } else {          } else {
145              $sql_demande_type .= " WHERE demande_nature = 1 ";              $sql_demande_type .= " WHERE demande_nature = 1 ";
146          }          }
147      // Ajout de filtre sur la requête (dossier_autorisation_type_detaille)          if(isset($_POST["dossier_autorisation_type_detaille"]) AND $_POST["dossier_autorisation_type_detaille"] != "") {
148                $datd = $_POST["dossier_autorisation_type_detaille"];
149            }
150            // Ajout de filtre sur la requête (dossier_autorisation_type_detaille)
151          if(isset($datd) AND $datd != "") {          if(isset($datd) AND $datd != "") {
152              $sql_demande_type .= " AND dossier_autorisation_type_detaille = ".$datd;              $sql_demande_type .= " AND dossier_autorisation_type_detaille = ".$datd;
153          } else {          } else {
# Line 626  class demande extends demande_gen { Line 637  class demande extends demande_gen {
637                                    
638                  /*Si la création a réussie*/                  /*Si la création a réussie*/
639                  if ( $instruction->valF['instruction'] != "" ){                  if ( $instruction->valF['instruction'] != "" ){
                     print_r($instruction->valF);  
640                                            
641                      /*Affichage du récépissé de la demande*/                      /*Affichage du récépissé de la demande*/
642                      $this->valF['instruction_recepisse'] = $instruction->valF['instruction'];                      $this->valF['instruction_recepisse'] = $instruction->valF['instruction'];

Legend:
Removed from v.1403  
changed lines
  Added in v.1404

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26