public function edit($salarySheetId, $salarySheetRecordId)
 {
     $salary_sheet = SalarySheet::find($salarySheetId);
     $employees = Employee::lists('name', 'id')->sort();
     $salary_sheet_record = SalarySheetRecord::find($salarySheetRecordId);
     return view('hr.salary_sheet.edit', compact('salary_sheet', 'employees', 'salary_sheet_record'));
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     $salary_sheet = SalarySheet::findOrFail($id);
     $salary_sheet->delete();
     return redirect('/hr/salary_sheet');
 }