public function loadEmployeeTimesheet() { //if(Request::ajax()){ $employeeId = Session::get('userEmployeeId'); //$employeeId = Auth::user()->employee_id; $timesheet = new Timesheet(); $timesheetJsObjectPerMonth = $timesheet->getTimesheetJsObjectPerMonth($employeeId, Session::get('dayDateArr')); //return '{"data":'.$timesheet->getTimesheetJsObject($employeeId).'}'; //dd($timesheetJsObjectPerMonth); return $timesheetJsObjectPerMonth; //$timesheet->getTimesheetJsObjectPerMonth($employeeId, Session::get('dayDateArr')); //} }