ss ->sortable
This commit is contained in:
1 parent
c8cf1edaf4
commit
000f6fa046
18 files changed
+157
-106
No files matched your search
+5
-1
@@ -33,18 +33,22 @@ class StatisticFixturesTable
|
||||
}),
|
||||
TextColumn::make('league.name')
|
||||
->label('League')
|
||||
->sortable()
|
||||
->searchable()
|
||||
->description(
|
||||
fn($record) => $record->league->sofascore_category->name
|
||||
),
|
||||
TextColumn::make('starttime')->dateTime('Y-m-d H:i'),
|
||||
TextColumn::make('starttime')->dateTime('Y-m-d H:i')
|
||||
->sortable(),
|
||||
TextColumn::make('home.ss_team_name')
|
||||
->tooltip(fn($record) => $record->home_id)
|
||||
->color('primary')
|
||||
->sortable()
|
||||
->searchable(),
|
||||
TextColumn::make('away.ss_team_name')
|
||||
->tooltip(fn($record) => $record->away_id)
|
||||
->color('success')
|
||||
->sortable()
|
||||
->searchable(),
|
||||
TextColumn::make('updated_at')->alignCenter()->date(),
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user