示例#1
0
 /**
  * Show the form for editing the specified resource.
  * GET /ob/{id}/edit
  *
  * @param  int  $id
  * @return Response
  */
 public function recent_ob()
 {
     $profile = UserDetails::where('employee_id', Auth::user()->employee_id)->first();
     $getleave = AdminLogOB::with('user')->where('status', '!=', '')->orderBy('created_at', 'desc')->get();
     return View::make('admindashboard.recentob_logs')->with('admin', $profile)->with('getleave', $getleave)->with('title', 'STI | OB Logs');
 }