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 = [];
|
||||||
$boxes[] = Stat::make('Total', self::template_total($count_events))
|
$boxes[] = Stat::make('Total', self::template_total($count_events))
|
||||||
->description(fn () => $similar_past_matches == 'all' ? 'SPM Database' : 'SPM League')
|
->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
|
// BOX 1X2
|
||||||
$win = $data['win_odd'];
|
$win = $data['win_odd'];
|
||||||
@@ -60,7 +60,7 @@ class BoxesBettypeAll extends StatsOverviewWidget
|
|||||||
// BOX EXPECTED
|
// BOX EXPECTED
|
||||||
if (isset($data['gls'])) {
|
if (isset($data['gls'])) {
|
||||||
$boxes[] = Stat::make('Expected', self::template_tabelle_1($data))
|
$boxes[] = Stat::make('Expected', self::template_tabelle_1($data))
|
||||||
->extraAttributes(['class' => 'box-yellow'])
|
->extraAttributes(['class' => 'box-info'])
|
||||||
->description('Home - Away');
|
->description('Home - Away');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user