Esempio n. 1
0
 /**
  * Display a listing of the resource.
  * GET /leavewoplog
  *
  * @return Response
  */
 public function index()
 {
     $profile = UserDetails::where('employee_id', Auth::user()->employee_id)->first();
     $getleave = AdminLogWOP::with('user')->where('status', '!=', '')->orderBy('created_at', 'desc')->get();
     return View::make('admindashboard.woplog.wo_approvelog')->with('admin', $profile)->with('getleave', $getleave)->with('title', 'STI | (Without pay) Logs');
 }