mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 18:32:32 +01:00
NEW : Template supplier invoices
This commit is contained in:
@@ -29,8 +29,9 @@
|
||||
|
||||
/**
|
||||
* Class to send SMS
|
||||
* Usage: $smsfile = new CSMSFile($subject,$sendto,$replyto,$message,$filepath,$mimetype,$filename,$cc,$ccc,$deliveryreceipt,$msgishtml,$errors_to);
|
||||
* $smsfile->sendfile();
|
||||
* Usage: $smsfile = new CSMSFile($subject,$sendto,$replyto,$message,$filepath,$mimetype,$filename,$cc,$ccc,$deliveryreceipt,$msgishtml,$errors_to);
|
||||
* $smsfile->socid=...; $smsfile->contact_id=...; $smsfile->member_id=...; $smsfile->fk_project=...;
|
||||
* $smsfile->sendfile();
|
||||
*/
|
||||
class CSMSFile
|
||||
{
|
||||
@@ -48,7 +49,8 @@ class CSMSFile
|
||||
public $nostop;
|
||||
|
||||
public $socid;
|
||||
public $contactid;
|
||||
public $contact_id;
|
||||
public $member_id;
|
||||
|
||||
public $fk_project;
|
||||
|
||||
@@ -135,6 +137,7 @@ class CSMSFile
|
||||
|
||||
$sms->socid = $this->socid;
|
||||
$sms->contact_id = $this->contact_id;
|
||||
$sms->member_id = $this->member_id;
|
||||
$sms->project = $this->fk_project;
|
||||
|
||||
$res = $sms->SmsSend();
|
||||
@@ -167,6 +170,7 @@ class CSMSFile
|
||||
|
||||
$sms->socid = $this->socid;
|
||||
$sms->contact_id = $this->contact_id;
|
||||
$sms->member_id = $this->member_id;
|
||||
$sms->fk_project = $this->fk_project;
|
||||
|
||||
$res = $sms->SmsSend();
|
||||
|
||||
Reference in New Issue
Block a user