wip
This commit is contained in:
1 parent
ec2245bdee
commit
4726b06d3c
1 file changed
+2
-2
@@ -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-info justify-center']);
|
||||
->extraAttributes(['x-init' => "animate('number-of-events', $count_events);", 'class' => 'box-blank justify-center']);
|
||||
|
||||
// BOX 1X2
|
||||
$win = $data['win_odd'];
|
||||
@@ -60,7 +60,7 @@ class BoxesBettypeAll extends StatsOverviewWidget
|
||||
// BOX EXPECTED
|
||||
if (isset($data['gls'])) {
|
||||
$boxes[] = Stat::make('Expected', self::template_tabelle_1($data))
|
||||
->extraAttributes(['class' => 'box-yellow'])
|
||||
->extraAttributes(['class' => 'box-info'])
|
||||
->description('Home - Away');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user