예제 #1
0
 /**
  * Remove the specified branch from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Deduction::destroy($id);
     return Redirect::route('deductions.index');
 }
예제 #2
0
 /**
  * Remove the specified branch from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $deduction = Deduction::findOrFail($id);
     Deduction::destroy($id);
     Audit::logaudit('Deductions', 'delete', 'deleted: ' . $deduction->deduction_name);
     return Redirect::route('deductions.index');
 }
예제 #3
0
 public function destroy($id)
 {
     Deduction::destroy($id);
     Session::flash('message', 'Sukses menghapus Income Payroll!!');
 }