forked from Wavyzz/dolibarr
Modif appel fonction notify
This commit is contained in:
@@ -289,7 +289,7 @@ class Facture
|
||||
$mesg = "La facture ".$this->ref." a <20>t<EFBFBD> valid<69>e.\n";
|
||||
|
||||
$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;
|
||||
}
|
||||
|
||||
@@ -215,7 +215,7 @@ class Fichinter
|
||||
$mesg = "La fiche d'intervention ".$this->ref." a <20>t<EFBFBD> valid<69>e.\n";
|
||||
|
||||
$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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user