Add title when editing member
This commit is contained in:
parent
c7de560d44
commit
5dd251f451
|
@ -60,7 +60,7 @@ class MemberController extends Controller
|
||||||
|
|
||||||
public function edit(Member $member, Request $request) {
|
public function edit(Member $member, Request $request) {
|
||||||
session()->put('menu', 'member');
|
session()->put('menu', 'member');
|
||||||
session()->put('title', 'Mitglied bearbeiten');
|
session()->put('title', "Mitglied {$member->firstname} {$member->lastname} bearbeiten");
|
||||||
|
|
||||||
return \Inertia::render('member/Form', [
|
return \Inertia::render('member/Form', [
|
||||||
'billKinds' => BillKind::get()->pluck('name', 'id'),
|
'billKinds' => BillKind::get()->pluck('name', 'id'),
|
||||||
|
|
Loading…
Reference in New Issue