/[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 1053 by nhaye, Wed Dec 12 17:51:16 2012 UTC revision 1054 by nhaye, Wed Dec 12 18:03:24 2012 UTC
# Line 352  class demande extends demande_gen { Line 352  class demande extends demande_gen {
352              $this->f->isDatabaseError();              $this->f->isDatabaseError();
353              $dossier_type = $res->fetchRow(DB_FETCHMODE_ASSOC);              $dossier_type = $res->fetchRow(DB_FETCHMODE_ASSOC);
354              // Création du dossier_autorisation              // Création du dossier_autorisation
355              if($dossier_type['dossier_autorisation_type_detaille'] != NULL) {              if($this->valF['dossier_autorisation'] == "") {
356                  $this->ajoutDossierAutorisation($id, $db, $val, $DEBUG);                  $this->ajoutDossierAutorisation($id, $db, $val, $DEBUG);
357                  $this -> addToMessage(_("Creation du dossier d'autorisation no").$this->valF['dossier_autorisation']);                  $this -> addToMessage(_("Creation du dossier d'autorisation no").$this->valF['dossier_autorisation']);
358              }              }
# Line 461  class demande extends demande_gen { Line 461  class demande extends demande_gen {
461          $this->insertLinkDemandeDemandeur($db, $DEBUG);          $this->insertLinkDemandeDemandeur($db, $DEBUG);
462                    
463          // Ajout des lliens entre dossier_autorisation et demandeur          // Ajout des lliens entre dossier_autorisation et demandeur
464          if(!empty($this->valF['dossier_autorisation'])) {          if(!empty($this->valF['dossier_autorisation']) AND $this->getVal('dossier_autorisation')=="") {
465              $this->ajoutLiensDossierAutorisation($id, $db, $val, $DEBUG);              $this->ajoutLiensDossierAutorisation($id, $db, $val, $DEBUG);
466          }          }
467          // Ajout des lliens entre dossier et demandeur          // Ajout des lliens entre dossier et demandeur

Legend:
Removed from v.1053  
changed lines
  Added in v.1054

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26