예제 #1
0
 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'));
 }
예제 #2
0
 /**
  * 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'));
 }