This commit is contained in:
salam committed 2026-10-28 18:22:06 +01:00
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;