public function venta($id) { $chequeven = Cheque::findOrFail($id); $clientes = Cliente::lists('razonsocial', 'id'); return view("cheques.venta", compact("chequeven", "clientes")); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $operacion = Operacion::FindOrFail($id); $cliente = Cliente::lists('razonsocial', 'id'); return view('operaciones.opedit', compact('operacion', 'cliente')); }