wip
This commit is contained in:
1 parent
1890b1fcc2
commit
bf48caa395
22 files changed
+510
-123
No files matched your search
+1
-1
@@ -8,7 +8,6 @@ use Filament\Actions\Action;
|
||||
use Filament\Actions\BulkAction;
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Columns\ToggleColumn;
|
||||
@@ -22,6 +21,7 @@ class SofaScoreRosasTable
|
||||
public static function configure(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->description('The squad for the team selected will be send next day via mail. The selection will be unset after sending.')
|
||||
->columns([
|
||||
TextColumn::make('ssteam_id')->label('Id')->badge()->width('1rem'),
|
||||
TextColumn::make('country.name')->label('Country'),
|
||||
|
||||
+4
-1
@@ -20,6 +20,7 @@ use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Columns\ToggleColumn;
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
@@ -71,6 +72,7 @@ class SofaScoreTaskTournamentsRelationManager extends RelationManager
|
||||
TextColumn::make('category.name')
|
||||
->label('Category')
|
||||
->searchable(),
|
||||
TextColumn::make('tournament.tournament_id'),
|
||||
TextColumn::make('tournament.name')
|
||||
->weight(FontWeight::Bold)
|
||||
->searchable(),
|
||||
@@ -88,7 +90,8 @@ class SofaScoreTaskTournamentsRelationManager extends RelationManager
|
||||
->pluck('sofa_score_category_id')
|
||||
->toArray();
|
||||
return SofaScoreCategory::query()->whereIn('id', $res)->orderBy('name')->pluck('name', 'id');
|
||||
})
|
||||
}),
|
||||
TernaryFilter::make('disabled'),
|
||||
], layout: FiltersLayout::AboveContent)
|
||||
->deferFilters(false)
|
||||
->headerActions([
|
||||
|
||||
Reference in new issue
Block a user