This commit is contained in:
2026-08-15 18:23:28 +03:30
+2 -1
View File
@@ -59,10 +59,11 @@ class SmsAlertService
/** @return list<string> */
private function alertRecipients(): array
{
// پیامک‌های سوپرادمین/کیف پول: همه ادمین‌های فعال — بدون شرط send_sms
// (سوییچ send_sms فقط برای بقیه اعلان‌های داخلی محصول است)
$numbers = [SmsWalletService::SUPER_ADMIN_MOBILE];
$adminNumbers = User::query()
->where('send_sms', true)
->where('active', true)
->pluck('mobile')
->all();