new feature on sms and some bugs fixed
This commit is contained in:
@@ -208,7 +208,9 @@ class FinanceController extends Controller
|
||||
|
||||
// Getting admin mobile numbers and sending the SMS
|
||||
User::where('active', 1)->get()->each(function($admin) use ($message) {
|
||||
$this->Send($admin->mobile, $message);
|
||||
if (self::isSmsNotifEnabled('sms_notif_gateway_charge_admin')) {
|
||||
$this->Send($admin->mobile, $message);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user