app/Http/Controllers/Admin/ClientDetailsController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        if(!Auth::guard('admin')->user()->is_super)
            return abort(404);
        $list = ClientDetail::orderBy('id', 'asc')->get();
        return view('admin.client_details.index', ['title'=>__('globals.common.request_list'), 'list'=>$list]);
    }
public function index ( ) { if ( ! Auth :: guard ( 'admin' ) -> user ( ) -> is_super ) return abort ( 404 ) ; $ list = ClientDetail :: orderBy ( 'id' , 'asc' ) -> get ( ) ; return view ( 'admin.client_details.index' , [ 'title' => __ ( 'globals.common.request_list' ) , 'list' => $ list ] ) ; }
Display a listing of the resource.
Display a listing of the resource .