$_SESSION['cmbEmploymentStatus'] = $_POST['cmbEmploymentStatus']; $_SESSION['txtStartDate'] = $_POST['txtStartDate']; $_SESSION['txtEndDate'] = $_POST['txtEndDate']; $filterValues = array($_POST['cmbUserEmpID'], $_POST['cmbLocation'], $_POST['txtRepEmpID'], $_POST['cmbEmploymentStatus']); $obj = $timesheetExtractor->parseViewData($_POST); $timeController->setObjTime($obj); $timeController->viewTimesheetPrintPreview($filterValues); break; case 'Print_Timesheet_Get_Page': $filterValues = array($_POST['txtEmpID'], $_POST['txtLocation'], $_POST['txtRepEmpID'], $_POST['txtEmploymentStatus']); $obj = $timesheetExtractor->parseViewData($_POST); $timeController->setObjTime($obj); $timeController->viewTimesheelBulk($filterValues, $_GET['page']); break; case 'Print': $timeController->showPrint(); break; } } else { trigger_error("Invalid Action " . $_GET['action'], E_USER_NOTICE); } break; case 'benefits': include ROOT_PATH . '/lib/controllers/Benefits.inc.php'; break; default: trigger_error("Invalid Action " . $_GET['action'], E_USER_NOTICE); } break; case 'recruitMod': $recruitController = new RecruitmentController();