mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-24 04:44:28 +02:00
refactor: improve SMS and email handling in Message class; add success/failure return values and update language file with new translations
This commit is contained in:
parent
f0b9b56bb0
commit
3347b39f3b
3 changed files with 164 additions and 4 deletions
|
@ -202,7 +202,7 @@ EOT;
|
|||
['tbl_customers.fullname', 'fullname'],
|
||||
['tbl_customers.username', 'username'],
|
||||
['tbl_customers.email', 'email'],
|
||||
['tbl_customers.service_type','service_type'],
|
||||
['tbl_customers.service_type', 'service_type'],
|
||||
]);
|
||||
$customers = $query->find_array();
|
||||
} else {
|
||||
|
@ -295,7 +295,7 @@ EOT;
|
|||
$totalInboxSent = 0;
|
||||
$totalInboxFailed = 0;
|
||||
$batchStatus = [];
|
||||
$subject = Lang::T('Notification Message');
|
||||
$subject = $config['CompanyName'] . ' ' . Lang::T('Notification Message');
|
||||
$form = 'Admin';
|
||||
|
||||
foreach ($customers as $customer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue