/** * 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) { Cartera::destroy($id); \Session::flash('message', 'Cartera Borrado!'); return redirect('carteras'); }