$timeController->viewSelectTimesheet(); break; case 'Timesheet_Print_Preview': $_SESSION['txtUserEmpID'] = $_POST['txtUserEmpID']; $_SESSION['cmbUserEmpID'] = $_POST['cmbUserEmpID']; $_SESSION['txtLocation'] = $_POST['txtLocation']; $_SESSION['cmbLocation'] = $_POST['cmbLocation']; $_SESSION['cmbRepEmpID'] = $_POST['cmbRepEmpID']; $_SESSION['txtRepEmpID'] = $_POST['txtRepEmpID']; $_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;