This commit is contained in:
salam committed 2026-07-05 18:14:23 +02:00
1 parent 16c0aa24fe
commit 4a509c6a16
16 files changed
+168 -82

No files matched your search

@@ -11,6 +11,7 @@ use Filament\Actions\CreateAction;
use Filament\Actions\DeleteAction;
use Filament\Actions\DeleteBulkAction;
use Filament\Actions\EditAction;
use Filament\Forms\Components\Hidden;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\Textarea;
use Filament\Forms\Components\TextInput;
@@ -43,6 +44,7 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
return $schema
->components([
Hidden::make('added_manuel')->default(1),
Select::make('projekt_objekte_id')
->relationship('top_nummer', 'top_nummer', fn (Builder $query) => $query->where('projekte_id', $this->getOwnerRecord()->id))
->required()
@@ -78,6 +80,7 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
->recordTitleAttribute('top_nummer')
->defaultPaginationPageOption(50)
->columns([
TextColumn::make('projekt_objekte_id')->label('Parent '),
TextColumn::make('top_nummer.top_nummer')
->sortable()
->extraAttributes(['pointer-events' => 'none'])