balance send to email
This commit is contained in:
parent
c2fffdab88
commit
7e5a718ba8
@ -147,6 +147,8 @@ class Package
|
|||||||
Message::sendSMS($c['phonenumber'], $textInvoice);
|
Message::sendSMS($c['phonenumber'], $textInvoice);
|
||||||
} else if ($config['user_notification_payment'] == 'wa') {
|
} else if ($config['user_notification_payment'] == 'wa') {
|
||||||
Message::sendWhatsapp($c['phonenumber'], $textInvoice);
|
Message::sendWhatsapp($c['phonenumber'], $textInvoice);
|
||||||
|
} else if ($config['user_notification_payment'] == 'email') {
|
||||||
|
Message::sendEmail($c['email'], '[' . $config['CompanyName'] . '] ' . Lang::T("Invoice") . ' ' . $inv ,$textInvoice);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user