Modif appel fonction notify
This commit is contained in:
parent
87c1a0186e
commit
ca1768a824
@ -289,7 +289,7 @@ class Facture
|
|||||||
$mesg = "La facture ".$this->ref." a été validée.\n";
|
$mesg = "La facture ".$this->ref." a été validée.\n";
|
||||||
|
|
||||||
$notify = New Notify($this->db);
|
$notify = New Notify($this->db);
|
||||||
$notify->send($action_notify, $this->socidp, $mesg, $filepdf);
|
$notify->send($action_notify, $this->socidp, $mesg, "facture", $rowid, $filepdf);
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -215,7 +215,7 @@ class Fichinter
|
|||||||
$mesg = "La fiche d'intervention ".$this->ref." a été validée.\n";
|
$mesg = "La fiche d'intervention ".$this->ref." a été validée.\n";
|
||||||
|
|
||||||
$notify = New Notify($this->db);
|
$notify = New Notify($this->db);
|
||||||
$notify->send($action_notify, $this->societe_id, $mesg, $filepdf);
|
$notify->send($action_notify, $this->societe_id, $mesg, "ficheinter", $this->id, $filepdf);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user