138 |
parent::setValF($val); |
parent::setValF($val); |
139 |
if($this->getParameter('maj')==0) { |
if($this->getParameter('maj')==0) { |
140 |
$this->valF["date_reception"]=$this->valF["date_envoi"]; |
$this->valF["date_reception"]=$this->valF["date_envoi"]; |
141 |
|
$this->valF["lu"] = true; |
142 |
} |
} |
143 |
|
|
144 |
// Si un retour d'avis est modifie on passe "lu" a false |
// Si un retour d'avis est modifie on passe "lu" a false |
280 |
$this->addToLog("triggerajouter(): db->getone(\"".$sql."\")", VERBOSE_MODE); |
$this->addToLog("triggerajouter(): db->getone(\"".$sql."\")", VERBOSE_MODE); |
281 |
// |
// |
282 |
$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; |
|
283 |
// |
// |
284 |
$this->addToMessage(_("delai")." ". |
$this->addToMessage(_("delai")." ". |
285 |
_("retour")." ".$delai." "._("mois")." -> ". |
_("retour")." ".$delai." "._("mois")." -> ". |