wip
This commit is contained in:
1 parent
3196e17116
commit
883e947399
1 file changed
+1
-1
@@ -57,7 +57,7 @@ class EditProjekte extends EditRecord
|
|||||||
}),
|
}),
|
||||||
Action::make('bezahlen')
|
Action::make('bezahlen')
|
||||||
->color('primary')
|
->color('primary')
|
||||||
->icon('phosphor-euro')
|
->icon('phosphor-currency-eur')
|
||||||
->hidden(fn ($record): bool => $record->bezahlt_am ? true : false)
|
->hidden(fn ($record): bool => $record->bezahlt_am ? true : false)
|
||||||
->visible(fn (): bool => Auth::user()->konto->guthaben == 0)
|
->visible(fn (): bool => Auth::user()->konto->guthaben == 0)
|
||||||
->label('Konto laden')
|
->label('Konto laden')
|
||||||
|
|||||||
Reference in new issue
Block a user