app/Http/Controllers/CnaeController.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(Request $request)
    {
        $cnaes = Cnae::where('areas_id','=',Crypt::decrypt($request->value))->orderBy('descricao', 'ASC')->paginate(50);
        return view('coordenador/cnaes_coordenador', ['cnaes' => $cnaes]);
    }
public function index ( Request $ request ) { $ cnaes = Cnae :: where ( 'areas_id' , '=' , Crypt :: decrypt ( $ request -> value ) ) -> orderBy ( 'descricao' , 'ASC' ) -> paginate ( 50 ) ; return view ( 'coordenador/cnaes_coordenador' , [ 'cnaes' => $ cnaes ] ) ; }
Display a listing of the resource.
Display a listing of the resource .
// // Listagem de cnaes