/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $liquidacion = Liquidacion::findOrFail($id); $taxis = Taxi::lists('matricula', 'id'); $choferes = Chofer::lists('apellido', 'id'); return view('liquidaciones.edit', compact('liquidacion'))->with(['taxis' => $taxis, 'choferes' => $choferes]); }