This commit is contained in:
salam committed 2026-02-06 15:54:43 +01:00
1 parent 004e87e6b5
commit a6c4e54983
3 files changed
+22 -22

No files matched your search

@@ -60,7 +60,7 @@ class NotifyAlarms
$send = StoreSend::store($event_id, $user_id, $bookmaker_id, $alarm_level_id, $fieldname, 'notify_by_mail');
$message = 'ALARM LEVEL '.$alarm_level_id;
$table = [
$tablecontent = [
['key' => 'League', 'value' => $event->competition_group->name],
['key' => 'Event', 'value' => $event->home.' vs '.$event->away],
['key' => 'Startime', 'value' => $event->starttime],
@@ -71,7 +71,7 @@ class NotifyAlarms
];
Mail::to($user)
->send(new AlarmNotification($message, $table));
->send(new AlarmNotification($message, $tablecontent));
}
$stored_alarms[] = $send;