public function create($id)
 {
     $cliente = Client::with('info')->where('id', '=', $id)->first();
     $company = Company::with('managers')->where('id', '=', \Auth::guard('web_managers')->user()->company_id)->firstOrFail();
     $config = json_decode($company->configuracoes);
     $tiposEvento = ArrayObjToArray($config->config->tipoEvento);
     return view('admin.orcamento.create', compact('cliente', 'config', 'tiposEvento', 'company'));
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $cliente = Client::with('info')->find($id);
     return view('admin.cliente.edit')->with(['cliente' => $cliente]);
 }