projekt wip bofore relations
This commit is contained in:
1 parent
aa301f1197
commit
69d4efcd9d
11 files changed
+80
-89
No files matched your search
@@ -13,7 +13,13 @@ class ListProjektes extends ListRecords
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
CreateAction::make(),
|
||||
CreateAction::make()
|
||||
->createAnother(false)
|
||||
->mutateDataUsing(function (array $data): array {
|
||||
$data['konto_id'] = auth()->user()->konto_id;
|
||||
|
||||
return $data;
|
||||
}),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user