This commit is contained in:
salam committed 2026-10-14 12:37:03 +02:00
1 parent 2312a9cc57
commit 7ba7fb2dac
11 files changed
+176 -173

No files matched your search

@@ -51,9 +51,11 @@ class GenerateAlarms
$res = EventBookmaker::with('event')->where('bookmaker_id', $client_bookmaker_id)->where('sport_id', $sport_id)->get();
if ($debug) {
Notice::note('Event: '.\count($res), 'b');
}
// $res = EventBookmaker::with('event')->where('bookmaker_id', $client_bookmaker_id)->whereHas('event', function (Builder $query) {
// $query->whereNotNull('starttime')
// ->where('starttime', '>', now());
// })->get();
// $res = EventBookmaker::where('event_id', 14597944)->where('bookmaker_id', $client_bookmaker_id)->where('sport_id', $sport_id)->get();
foreach ($res as $event) {