filter playeer played
This commit is contained in:
1 parent
74e9285bac
commit
5081ec9e32
30 files changed
+4114
-1420
No files matched your search
@@ -136,7 +136,10 @@ class Statistic extends BaseDashboard
|
||||
'all' => 'All',
|
||||
'home' => 'Home',
|
||||
'away' => 'Away',
|
||||
]),
|
||||
])->afterStateUpdated(function (callable $set) {
|
||||
// $set('team_id', null);
|
||||
$set('tm_player_id', null);
|
||||
}),
|
||||
]),
|
||||
Grid::make([
|
||||
'default' => 1,
|
||||
@@ -220,15 +223,6 @@ class Statistic extends BaseDashboard
|
||||
->hidden(fn(Get $get) => $get('similar_past_matches') != 'none')
|
||||
->prefixIconColor(fn(Get $get): string => $get('similar_past_matches') == 'none' ? 'primary' : '')
|
||||
->prefixIcon('icon-player')
|
||||
->suffixAction(
|
||||
Action::make('copyCostToPrice')
|
||||
->action(function (callable $set) {
|
||||
$set('tm_player_id', null);
|
||||
$set('player_on_field', null);
|
||||
})
|
||||
->color('gray')
|
||||
->icon('phosphor-x'),
|
||||
)
|
||||
->preload()
|
||||
->searchable()
|
||||
->options(function (Get $get) {
|
||||
|
||||
Reference in new issue
Block a user