mwthoden
This commit is contained in:
1 parent
301443d8c4
commit
8c34730c41
9 files changed
+534
-38
No files matched your search
@@ -291,13 +291,9 @@ class ProjektObjekteRelationManager extends RelationManager
|
||||
}),
|
||||
])
|
||||
->headerActions([
|
||||
CreateAction::make()
|
||||
->modalHeading('Objekt erstellen')
|
||||
->hidden(fn (): bool => $this->ownerRecord->bezahlt_am ? false : true)
|
||||
->modalDescription('Die dazugehörigen Räume werde in "Objekte im Detail" erstellt.')
|
||||
->icon('phosphor-file-plus')
|
||||
->createAnother(false),
|
||||
Action::make('projekt_merkmale')
|
||||
->label('Projekt Merkmale')
|
||||
->color('gray')
|
||||
->icon('phosphor-pen')
|
||||
->hidden(fn (): bool => $this->ownerRecord->bezahlt_am ? false : true)
|
||||
->modalCancelAction(fn (Action $action) => $action->label('Schließen'))
|
||||
@@ -309,6 +305,12 @@ class ProjektObjekteRelationManager extends RelationManager
|
||||
->after(function (Component $livewire) {
|
||||
$livewire->dispatch('refreshOrientierung');
|
||||
}),
|
||||
CreateAction::make()
|
||||
->modalHeading('Objekt erstellen')
|
||||
->hidden(fn (): bool => $this->ownerRecord->bezahlt_am ? false : true)
|
||||
->modalDescription('Die dazugehörigen Räume werde in "Objekte im Detail" erstellt.')
|
||||
->icon('phosphor-file-plus')
|
||||
->createAnother(false),
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
|
||||
Reference in new issue
Block a user