/** * Show the form for creating a new resource. * * @return Response */ public function create() { $cuits = Cuit::lists('razonsocial', 'id'); $bancos = Banco::lists('entidad', 'id'); $clientes = Cliente::lists('razonsocial', 'id'); $carteras = Cartera::lists('nombre', 'id'); return view('cheques.create', compact('cuits', 'bancos', 'clientes', 'carteras')); }
/** * Remove the specified resource from storage. * * @param int $id * * @return Response */ public function destroy($id) { Banco::destroy($id); \Session::flash('message', 'Banco Borrado!'); return redirect('bancos'); }