events wip
This commit is contained in:
1 parent
8d623755ca
commit
a7e09c6590
25 files changed
+1112
-384
No files matched your search
@@ -21,11 +21,11 @@ class EventsTable
|
||||
return $record->sport->icon;
|
||||
}),
|
||||
TextColumn::make('starttime')->dateTime('M j, Y H:i')->sortable(),
|
||||
IconColumn::make('liga')
|
||||
->label('')
|
||||
->icon(function ($record): string {
|
||||
return 'flag-country-'.$record->liga->country->iso2;
|
||||
IconColumn::make('liga.country.icon')->label('')
|
||||
->icon(function ($state): string {
|
||||
return $state;
|
||||
}),
|
||||
TextColumn::make('liga.country.name'),
|
||||
TextColumn::make('liga.name')->searchable(),
|
||||
TextColumn::make('home.name')->searchable(),
|
||||
TextColumn::make('away.name')->searchable(),
|
||||
|
||||
Reference in new issue
Block a user