This commit is contained in:
salam committed 2026-09-27 17:34:34 +02:00
1 parent 6662b0a823
commit 750b8bc571
3 files changed
+37 -30

No files matched your search

+3 -1
View File
@@ -42,11 +42,13 @@ class BoxesBettypeAll extends StatsOverviewWidget
return [];
}
// dd($this->filters);
// BOX TOTAL
$count_events = $data['count_events'];
$boxes = [];
$boxes[] = Stat::make('Total', self::template_total($count_events))
->description(fn () => $similar_past_matches == 'all' ? 'SPM Database' : 'SPM League')
->description(fn () => $similar_past_matches == 'none' ? 'Team Selected' : 'Similar Past Matches')
->extraAttributes(['x-init' => "animate('number-of-events', $count_events);", 'class' => 'box-success justify-center']);
// BOX 1X2