wip
This commit is contained in:
1 parent
79839c04a4
commit
bff7331193
4 files changed
+15
-13
No files matched your search
+2
-2
@@ -24,11 +24,11 @@ class CompetitionGroupResource extends Resource
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'TxOdds';
|
||||
|
||||
protected static ?string $modelLabel = 'Groups';
|
||||
protected static ?string $modelLabel = 'Leagues';
|
||||
|
||||
protected static ?int $navigationSort = 11;
|
||||
|
||||
protected static ?string $navigationLabel = 'Groups';
|
||||
protected static ?string $navigationLabel = 'Leagues';
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
+4
-2
@@ -39,13 +39,15 @@ class CompetitionGroupsTable
|
||||
->icon(fn ($record) => $record->sport->icon)
|
||||
->tooltip(fn ($record) => $record->id)
|
||||
->visibleFrom('lg'),
|
||||
TextColumn::make('id')->copyable()->alignCenter()->tooltip('Click to copy'),
|
||||
TextColumn::make('name')
|
||||
->color('primary')
|
||||
->searchable(),
|
||||
TextColumn::make('country.name')
|
||||
->wrap()
|
||||
->color('gray')
|
||||
->label('Country')
|
||||
->icon(fn ($record) => $record->country->icon),
|
||||
TextColumn::make('name')
|
||||
->searchable(),
|
||||
SelectColumn::make('level')
|
||||
->width(30)
|
||||
->options([
|
||||
|
||||
Reference in new issue
Block a user