wip
This commit is contained in:
1 parent
4726b06d3c
commit
d50df325ef
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-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'])) {
|
||||
|
||||
Reference in new issue
Block a user