public function edit($id) { $deduction = Deduction::find($id); $classifications = Classification::where('category', '=', 'Deduction')->get(); $menu = 'employee'; return View::make('deductions.edit', compact('deduction', 'classifications', 'menu')); }
/** * Show the form for editing the specified branch. * * @param int $id * @return Response */ public function edit($id) { $deduction = Deduction::find($id); return View::make('deductions.edit', compact('deduction')); }