new feature on sms and some bugs fixed

This commit is contained in:
2026-07-18 22:22:01 +03:30
parent 518334da11
commit fc9de5198c
20 changed files with 489 additions and 95 deletions
@@ -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);
}
});