new feature on sms and some bugs fixed
This commit is contained in:
@@ -175,7 +175,9 @@ class paypingController extends Controller
|
||||
. ' حساب خود را به مقدار ' . number_format($Withdraw->cash) . ' ریال شارژ کرد. با تشکر، ' . $this->Config('name_fa');
|
||||
|
||||
User::where('send_sms', 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);
|
||||
}
|
||||
});
|
||||
|
||||
return view('showTransactionReport', compact('Withdraw', 'app_url'));
|
||||
@@ -249,7 +251,9 @@ class paypingController extends Controller
|
||||
. ' حساب خود را به مقدار ' . number_format($Withdraw->cash) . ' ریال شارژ کرد. با تشکر، ' . $this->Config('name_fa');
|
||||
|
||||
User::where('send_sms', 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);
|
||||
}
|
||||
});
|
||||
|
||||
return view('showTransactionReport', compact('Withdraw', 'app_url'));
|
||||
|
||||
Reference in New Issue
Block a user