diff --git a/app/Filament/Widgets/BoxesBettypeAll.php b/app/Filament/Widgets/BoxesBettypeAll.php index 471fb55a..f8ac24c1 100644 --- a/app/Filament/Widgets/BoxesBettypeAll.php +++ b/app/Filament/Widgets/BoxesBettypeAll.php @@ -47,7 +47,7 @@ class BoxesBettypeAll extends StatsOverviewWidget $boxes = []; $boxes[] = Stat::make('Total', self::template_total($count_events)) ->description(fn () => $similar_past_matches == 'all' ? 'SPM Database' : 'SPM League') - ->extraAttributes(['x-init' => "animate('number-of-events', $count_events);", 'class' => 'box-blank justify-center']); + ->extraAttributes(['x-init' => "animate('number-of-events', $count_events);", 'class' => 'box-success justify-center']); // BOX 1X2 $win = $data['win_odd']; @@ -55,7 +55,7 @@ class BoxesBettypeAll extends StatsOverviewWidget $lost = $data['lost_odd']; $boxes[] = Stat::make('Odds', self::template_odds($data, $win, $draw, $lost)) ->description('Expectations') - ->extraAttributes(['x-init' => "animate('win', $win, 2); animate('draw', $draw, 2); animate('lost', $lost, 2)", 'class' => 'box-success']); + ->extraAttributes(['x-init' => "animate('win', $win, 2); animate('draw', $draw, 2); animate('lost', $lost, 2)", 'class' => 'box-blank']); // BOX EXPECTED if (isset($data['gls'])) {