wip
This commit is contained in:
1 parent
064fceaca0
commit
fdd91f5032
10 files changed
+140
-26
No files matched your search
+46
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Projektes\RelationManagers;
|
||||
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Resources\RelationManagers\RelationManager;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class OrientierungZuAbschlaegesRelationManager extends RelationManager
|
||||
{
|
||||
protected static string $relationship = 'orientierung_zu_abschlaeges';
|
||||
|
||||
protected static ?string $title = 'Orientierung Zu/Abschläge';
|
||||
|
||||
protected static ?string $navigationLabel = 'Orientierung Zu/Abschläge';
|
||||
|
||||
protected static ?string $modelLabel = 'Orientierung Zu/Abschläge';
|
||||
|
||||
protected static ?string $pluralModelLabel = 'Orientierung Zu/Abschläge';
|
||||
|
||||
public function table(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->recordTitleAttribute('top_nummer')
|
||||
->columns([
|
||||
TextColumn::make('top_nummer')
|
||||
->searchable(),
|
||||
])
|
||||
->filters([
|
||||
//
|
||||
])
|
||||
->headerActions([
|
||||
CreateAction::make(),
|
||||
])
|
||||
->recordActions([
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make(),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user