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

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

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

revision 1171 by fmichon, Tue Jan 8 09:25:55 2013 UTC revision 1172 by fmichon, Tue Jan 8 11:15:22 2013 UTC
# Line 141  class consultation extends consultation_ Line 141  class consultation extends consultation_
141          parent::setValF($val);          parent::setValF($val);
142          if($this->getParameter('maj')==0) {          if($this->getParameter('maj')==0) {
143              $this->valF["date_reception"]=$this->valF["date_envoi"];              $this->valF["date_reception"]=$this->valF["date_envoi"];
144                $this->valF["lu"] = true;
145          }          }
146    
147          // Si un retour d'avis est modifie on passe "lu" a false          // Si un retour d'avis est modifie on passe "lu" a false
# Line 282  class consultation extends consultation_ Line 283  class consultation extends consultation_
283              $this->addToLog("triggerajouter(): db->getone(\"".$sql."\")", VERBOSE_MODE);              $this->addToLog("triggerajouter(): db->getone(\"".$sql."\")", VERBOSE_MODE);
284              //              //
285              $this->valF["date_limite"] = $this->moisdate($this->valF["date_reception"], $delai);              $this->valF["date_limite"] = $this->moisdate($this->valF["date_reception"], $delai);
             $this->valF["lu"] = true;  
286              //              //
287              $this->addToMessage(_("delai")." ".              $this->addToMessage(_("delai")." ".
288                 _("retour")." ".$delai." "._("mois")." -> ".                 _("retour")." ".$delai." "._("mois")." -> ".

Legend:
Removed from v.1171  
changed lines
  Added in v.1172

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26