add ids to fixtures

This commit is contained in:
salam committed 2026-05-21 13:50:37 +02:00
1 parent 885164ffb8
commit 4681faf2d4
1 file changed
+9 -2
@@ -31,11 +31,18 @@ class StatisticFixturesTable
->label('League') ->label('League')
->searchable() ->searchable()
->wrap() ->wrap()
->tooltip(fn ($record) => $record->league_id)
->hidden(fn () => auth()->user()->sport_id == 5) ->hidden(fn () => auth()->user()->sport_id == 5)
->description(fn ($record) => ucwords($record->league?->country->name)), ->description(fn ($record) => ucwords($record->league?->country->name)),
TextColumn::make('starttime')->dateTime('M j, Y h:i')->label('Date'), TextColumn::make('starttime')->dateTime('M j, Y h:i')->label('Date'),
TextColumn::make('home.name')->color('primary')->searchable(), TextColumn::make('home.name')
TextColumn::make('away.name')->color('success')->searchable(), ->tooltip(fn ($record) => $record->home_id)
->color('primary')
->searchable(),
TextColumn::make('away.name')
->tooltip(fn ($record) => $record->away_id)
->color('success')
->searchable(),
// TextColumn::make('exp_home')->alignCenter()->numeric(), // TextColumn::make('exp_home')->alignCenter()->numeric(),
// TextColumn::make('exp_away')->alignCenter()->numeric(), // TextColumn::make('exp_away')->alignCenter()->numeric(),
TextColumn::make('updated_at')->alignCenter()->date(), TextColumn::make('updated_at')->alignCenter()->date(),