wip
This commit is contained in:
1 parent
4b93848164
commit
20e93ba014
4 files changed
+62
-14
No files matched your search
@@ -70,13 +70,9 @@ class AdminPanelProvider extends PanelProvider
|
||||
->color('success')
|
||||
->action(function () {
|
||||
$rows = [];
|
||||
|
||||
$events = Event::with(['odds_3ways', 'odds_totals', 'competition_group'])->where('starttime', '>', Carbon::now())->where('starttime', '<', Carbon::now()->addDays(15))->orderBy('starttime', 'ASC')->get();
|
||||
|
||||
foreach ($events as $event) {
|
||||
|
||||
$event->loadMissing(['odds_3ways', 'odds_totals']);
|
||||
|
||||
$totals = [];
|
||||
foreach ($event->odds_totals as $item) {
|
||||
$bkmid = $item->bookmaker_id;
|
||||
|
||||
Reference in new issue
Block a user