fix memberView

This commit is contained in:
philipp lang 2022-11-16 23:24:37 +01:00
parent 0fb9cce5ef
commit 2999342c1a
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ class MemberView
return [
'data' => MemberResource::collection(Member::select('*')
->filter($filter)->search($request->query('search', null))
->with('billKind')->with('payments')->with('memberships')->with('courses')
->withSubscriptionName()->withIsConfirmed()->withPendingPayment()->withAgeGroup()->withIsLeader()
->with('billKind')->with('payments')->with('memberships')->with('courses')->with('leaderMemberships')->with('ageGroupMemberships')
->withSubscriptionName()->withIsConfirmed()->withPendingPayment()
->orderByRaw('lastname, firstname')
->paginate(15)
),