wip
This commit is contained in:
1 parent
f684d61a61
commit
70a443db6b
1 file changed
+4
-2
@@ -42,12 +42,13 @@ class GenerateAlarms
|
||||
|
||||
$filter = AlarmBookmakerFilter::get($client_bookmaker_id, $sport_id);
|
||||
|
||||
$res = EventBookmaker::where('bookmaker_id', $client_bookmaker_id)->where('sport_id', $sport_id)->get();
|
||||
|
||||
$res = EventBookmaker::with('event')->where('bookmaker_id', $client_bookmaker_id)->where('sport_id', $sport_id)->get();
|
||||
// $res = EventBookmaker::where('event_id', 14597944)->where('bookmaker_id', $client_bookmaker_id)->where('sport_id', $sport_id)->get();
|
||||
|
||||
foreach ($res as $event) {
|
||||
|
||||
if ($event->event->starttime > now()) {
|
||||
|
||||
foreach ($multilines as $multiline_id => $multiline) {
|
||||
|
||||
$table = $multiline['table'];
|
||||
@@ -65,4 +66,5 @@ class GenerateAlarms
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user