wip matches
This commit is contained in:
1 parent
adb15e701b
commit
7116d3c576
33 files changed
+379
-176
No files matched your search
@@ -5,6 +5,7 @@ namespace App\Filament\Clusters\Maintenance\Resources\Events\Tables;
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
@@ -14,45 +15,47 @@ class EventsTable
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('time')
|
||||
->dateTime()
|
||||
->sortable(),
|
||||
TextColumn::make('spid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('prid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('txid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('brid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('baid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('cnid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('grid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('cgid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('hoid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('awid')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('liga')
|
||||
->searchable(),
|
||||
TextColumn::make('home')
|
||||
->searchable(),
|
||||
TextColumn::make('away')
|
||||
->searchable(),
|
||||
IconColumn::make('sport_id')
|
||||
->label('')
|
||||
->icon(function ($record): string {
|
||||
return $record->sport->icon;
|
||||
}),
|
||||
TextColumn::make('starttime')->dateTime('M j, Y H:i')->sortable(),
|
||||
TextColumn::make('liga.name')->searchable(),
|
||||
TextColumn::make('home.name')->searchable(),
|
||||
TextColumn::make('away.name')->searchable(),
|
||||
// TextColumn::make('prid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('txid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('brid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('baid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('cnid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('grid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('cgid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('hoid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('awid')
|
||||
// ->numeric()
|
||||
// ->sortable(),
|
||||
// TextColumn::make('liga')
|
||||
// ->searchable(),
|
||||
|
||||
// TextColumn::make('away')
|
||||
// ->searchable(),
|
||||
TextColumn::make('created_at')
|
||||
->dateTime()
|
||||
->sortable()
|
||||
|
||||
Reference in new issue
Block a user