fix memberView
This commit is contained in:
parent
0fb9cce5ef
commit
2999342c1a
|
@ -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)
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue