This commit is contained in:
salam committed 2026-05-27 11:18:52 +02:00
1 parent 09e0e5b621
commit 859e60f209
1 file changed
+18 -18
+18 -18
View File
@@ -114,24 +114,6 @@ class Statistic extends BaseDashboard
'away' => 'Away', 'away' => 'Away',
]), ]),
Select::make('statistic_type')
->columnSpan([
'default' => 1,
'xl' => 2,
])
->prefixIconColor('primary')
->prefixIcon('phosphor-dots-three-outline')
->default('none')
->selectablePlaceholder(false)
->options([
'gls' => 'Goals',
'crn' => 'Corner',
'fls' => 'Fouls commited',
'ofs' => 'Offside',
'crd' => 'Cards',
'snt' => 'Shot on target',
'tsh' => 'Total shots',
]),
DatePicker::make('start_date') DatePicker::make('start_date')
->native(false) ->native(false)
->prefixIcon('phosphor-calendar') ->prefixIcon('phosphor-calendar')
@@ -152,6 +134,24 @@ class Statistic extends BaseDashboard
->color('gray') ->color('gray')
->action(fn (Set $set) => $set('end_date', null)) ->action(fn (Set $set) => $set('end_date', null))
), ),
Select::make('statistic_type')
->columnSpan([
'default' => 1,
'xl' => 2,
])
->prefixIconColor('primary')
->prefixIcon('phosphor-dots-three-outline')
->default('none')
->selectablePlaceholder(false)
->options([
'gls' => 'Goals',
'crn' => 'Corner',
'fls' => 'Fouls commited',
'ofs' => 'Offside',
'crd' => 'Cards',
'snt' => 'Shot on target',
'tsh' => 'Total shots',
]),
Select::make('similar_past_matches') Select::make('similar_past_matches')
->prefixIcon('phosphor-approximate-equals') ->prefixIcon('phosphor-approximate-equals')
->suffixAction( ->suffixAction(