Пример #1
0
 /**
  * Show a role.
  */
 public function show($member, Request $request)
 {
     if ($request->has('column') && $request->has('value')) {
         $members = Securex::where($request->get('column'), 'like', $request->get('value'))->where('status', '=', 0)->paginate(15);
     } else {
         $members = Securex::where('status', '=', 0)->paginate(15);
     }
     return view('blupl/securex::approval.list', compact('members'));
 }
Пример #2
0
 /**
  * Get landing pages
  * @return mixed
  */
 public function index(Request $request)
 {
     if ($request->has('column') && $request->has('value')) {
         $members = Securex::where($request->get('column'), 'like', $request->get('value'))->where('status', '=', 1)->paginate(15);
     } else {
         $members = Securex::where('status', '=', 1)->paginate(15);
     }
     return view('blupl/securex::printing.list-printing', compact('members'));
 }