This commit is contained in:
salam committed 2026-05-27 15:33:16 +02:00
1 parent fc18f98fd8
commit c329d5a6f5
5 files changed
+33 -38

No files matched your search

+10 -4
View File
@@ -149,10 +149,10 @@ class Statistic extends BaseDashboard
->options([
'gls' => 'Goals',
'crn' => 'Corner',
'fls' => 'Fouls commited',
'fls' => 'Fouls Commited',
'ofs' => 'Offside',
'crd' => 'Cards',
'snt' => 'Shot on target',
'snt' => 'Shots On Target',
'tsh' => 'Total shots',
]),
Select::make('similar_past_matches')
@@ -167,6 +167,10 @@ class Statistic extends BaseDashboard
->default('none')
->live()
->selectablePlaceholder(false)
->afterStateUpdated(function (callable $set) {
$set('team_id', null);
$set('tm_player_id', null);
})
->options([
'none' => 'None',
'league' => 'League',
@@ -233,10 +237,12 @@ class Statistic extends BaseDashboard
{
return [
StatsMedianAverage::make(),
// Events
ChartPunctualEvent::make(),
ChartMovingAverageEvent::make(),
ChartPunctualPlayer::make(),
ChartMovingAveragePlayer::make(),
// Players
// ChartPunctualPlayer::make(),
// ChartMovingAveragePlayer::make(),
];
}