fix credits
This commit is contained in:
1 parent
9a355aa812
commit
3196e17116
9 files changed
+43
-18
No files matched your search
+2
@@ -361,6 +361,7 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
|
||||
->headerActions([
|
||||
Action::make('generate')
|
||||
->action(fn (CreateProjektInhaltsverzeichnis $createInhaltsverzeichnis) => $createInhaltsverzeichnis->create($this->ownerRecord))
|
||||
->hidden(fn (): bool => $this->ownerRecord->bezahlt_am ? false : true)
|
||||
->requiresConfirmation()
|
||||
->modalHeading('Inhaltsverzeichnis neu generieren')
|
||||
->modalDescription('Bestehende Daten werden gelöscht.')
|
||||
@@ -369,6 +370,7 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
|
||||
->tooltip('Inhaltsverzeichnis wird neu erstellt.')
|
||||
->icon('phosphor-gear'),
|
||||
CreateAction::make()
|
||||
->hidden(fn (): bool => $this->ownerRecord->bezahlt_am ? false : true)
|
||||
->icon('phosphor-file-plus')
|
||||
->createAnother(false),
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user