balance send to email

This commit is contained in:
Ibnu Maksum 2024-08-02 10:24:24 +07:00
parent c2fffdab88
commit 7e5a718ba8
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -147,6 +147,8 @@ class Package
Message::sendSMS($c['phonenumber'], $textInvoice);
} else if ($config['user_notification_payment'] == 'wa') {
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;