new feature on sms and some bugs fixed
This commit is contained in:
@@ -42,6 +42,10 @@ class SmsAlertService
|
||||
|
||||
$message = "موجودی کیف پول پیامک {$appName} صفر یا منفی شده است. لطفاً کیف پول را شارژ کنید.";
|
||||
|
||||
if (! app(\App\Services\ConfigService::class)->isSmsNotifEnabled('sms_notif_wallet_alert')) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach ($this->alertRecipients() as $mobile) {
|
||||
app(SmsGatewayService::class)->send($mobile, $message, 'wallet_alert', isAlert: true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user