public function redrawEmployeeSummary() { if (Request::ajax()) { $employeeId = Session::get('userEmployeeId'); //$employeeId = Auth::user()->employee_id; $summary = new Summary(); $summaryPerMonth = $summary->getSummaryCutoff($employeeId, Session::get('dayDateArr')); //var_dump($summaryPerMonth); return $summaryPerMonth; } }