public function showApproved() { $data = Member::approved()->with('person.contacts', 'person.files', 'person.education')->paginate(50); // $data = Member::->paginate(50); return view('admin.approved', compact('data')); }
public function showApproved() { $data = Member::approved()->paginate(50); return view('admin.approved', compact('data')); }