/** * editar prestamo ccaf * * @return Response */ public function edit($ccafId) { $ccaf = $this->ccaf->findOrFail($ccafId); $employees = $this->employee->getCmb(); $types = CcafType::orderBy('name')->lists('name', 'id'); $compensacions = Compensacion::orderBy('name')->lists('name', 'id'); return view('humanresources.ccaf.edit', compact('ccaf', 'employees', 'types', 'compensacions')); }