REV011.jsp 9.1 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*"%>
<%@ page import="com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.session.*"  %>
<%@ include file="../CHECKPROFILE.jsp" %>
<% request.setCharacterEncoding("UTF-8"); %>
<jsp:useBean id="REV011" scope="page" class="com.csc.library.system.Task"/>
<jsp:setProperty name="REV011" property="appname" value="empview" />
<%
	REV011.setChannel(request ,response);
	UIManager screen=(UIManager) REV011.process("MultiEntry","REV011");
	MultiLine multi2 = screen.getMultiLine("MCOMMITTEE");
	MultiLine multi3 = screen.getMultiLine("MAPPTRAN");
	CheckNull chkNull = new CheckNull();	


%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="myHR">
	<head>

		<title>Requisition Details</title>

		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

		<link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/font-awesome.css">
		<link rel="stylesheet" type="text/css" href="../CSS/Bootstrap/css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="../CSS/EMPVIEW_LAYOUT.min.css" />

		<script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script>
		<script type="text/javascript" src="../JS/UTILITIES.js"></script>
		<script type="text/javascript"src="../JS/ACTIVE_OBJECT.js"></script>
		<script type="text/javascript" src="../JS/DDMENU.js"></script>
		<script type="text/javascript"src="../JS/EVENTS.js"></script>
		<script type='text/javascript' src='../JS/SCREEN.js'></script>
		<script src='../JS/EMPLOYEE.js'></script>
		<script src='../JS/DATEINPUT.js'></script>
		<script src='../JS/VIEWCALENDAR.js'></script>
		<script src='../JS/HOTKEY.js'></script>
		<script type="text/javascript" src="../JS/angular-1.3.15/angular.js"></script>
		<script type="text/javascript" src="../JS/ANGULAR/SCREEN_ANGULAR.js"></script>

		

		<script type="text/JavaScript">
			setLang("<%=screen.getUProfile().get("lang")%>");
			var swap = new swaplang();
            var titlename = swap.swap2String("SW012375");
			setPageTitle(titlename);

			function goView(id){
				var  pam="REV001.jsp?__help=__applicantid$"+id+";&__cmd=search;&isView=true";
				window.open(pam,"AppInfo","left=10,top=10,width=1250,height=620,toolbar=no,status=yes,scrollbars=yes,resizable=yes");
			}

			function toolTip(){}
		

		</script>

	</head>
	<body>
		<div class="bg-com"></div>
	
		<div class="container csc-content">
			<form name="cscform" class="form-horizontal" method="post" action="REV011.jsp">
				<%=screen.InitialVariable()%>
				<script>getInputFormatDate();</script>
				<input name="__cmd" type="hidden" value="">
				<input name="__screen" type="hidden" value="REV011">
				<input name="__calendar" type="hidden">
				<input name="__notNull" type="hidden" value="">
				<input name="__help" type="hidden" value="">
				<input name="__gorec" type="hidden" value="">
				<input name="__headMulti" type="hidden" value="REV011">
				<input name="__childMulti" type="hidden" value="">
				<input name="__multiTable" type="hidden" value="MCANDIDATERE">
				<input name="__ack" type="hidden" value="">
				<input name="__maxrec" type="hidden" value="<%=screen.getTable("MCANDIDATERE").recCount()%>">
				<input name="__language" type="hidden" value='<%=screen.getUProfile().get("lang")%>'>
				<input name="__lastrec" type="hidden" value="<%=screen.getTable("MCANDIDATERE").recCount()%>">
				<input name="__companyid"  type="hidden" value='<%=screen.getUProfile().get("companyid")%>'>
				<input name="__employeeid"  type="hidden" value='<%=screen.getUProfile().get("employeeid")%>'>
				<input name="__afterUpdate" type="hidden" value="">
				<input name="__referPage" type="hidden"  value="">
				<input name="__fixCon" type="hidden"  value="">
				<input type="hidden" name="__list" VALUE="<%=chkNull.chkNullString(request.getParameter("__list"),"")%>">
				<input type="hidden" name="__autonum" value="">
				<input type="hidden" name="__clean" value="1">
			
				<table class="table table-head table-hover table-bordered table-left table-fixed">
					<tr>
						<th colspan="4" swlang code='SW002172'>Details</th>
					</tr>
					<tr>
						<th><%=screen.getLabel("REQUESTID")%></th>
						<td><%=screen.getDataLabel("REQUESTID")%></td>
						<th><%=screen.getLabel("REQ_STATUS")%></th>
						<td><%=screen.getRecord().getSystemCode("REQ_STATUS")%></td>
					</tr>
					<tr>
						<th><%=screen.getLabel("DOC_DATE")%></th>
						<td><%=screen.getDataLabel("DOC_DATE")%></td>
						<th><%=screen.getLabel("JOBID")%></th>
						<td><%=screen.getDataLabel("MJOBCODE","TDESC")%></td>
					</tr>
					<tr>
						<th><%=screen.getLabel("POSITIONID")%></th>
						<td><%=screen.getDataLabel("MPOSITION","TDESC")%></td>
						<th><%=screen.getLabel("EMP_TYPE")%></th>
						<td><%=screen.getRecord().getSystemCode("EMP_TYPE")%></td>
					</tr>
					<tr>
						<th swlang code='SW002106'>No of requirement</th> 
						<td><%=screen.getDataLabel("EMP_NUM")%></td>
						<th swlang code='SW012137'>Salary range</th>
						<td><%=screen.getDataLabel("FROMSALARY")%> - <%=screen.getDataLabel("TOSALARY")%> <label swlang code='SW000796'>Baht</label></td>
					</tr>
					<tr>
						<th swlang code='SW003417'>Gender</th> 
						<td><%=screen.getRecord().getSystemCode("SEX")%></td>
						<th swlang code='SW000172'>Age</th> 
						<td><%=screen.getDataLabel("FROMAGE")%> - <%=screen.getDataLabel("TOAGE")%> <label swlang code='SW000717'>Year</label></td>
					</tr>
					<tr>
						<th swlang code='SW012138'>Education Degree</th> 
						<td><%=screen.getDataLabel("DEGREE")%></td>
						<th><%=screen.getLabel("MAJOR")%></th>
						<td><%=screen.getDataLabel("MAJOR")%></td>
					</tr>
					<tr>
						<th><%=screen.getLabel("EXPERIENCE")%></th>
						<td><%=screen.getDataLabel("EXPERIENCE")%></td>
						<th><%=screen.getLabel("OTHER")%></th>
						<td><%=screen.getDataLabel("OTHER")%></td>
					</tr>
					<tr>
						<th><%=screen.getLabel("REQ_TYPE")%></th>
						<td><%=screen.getRecord().getSystemCode("REQ_TYPE")%></td>
						<th><%=screen.getLabel("REQUEST_BY")%></th>
						<td><%=screen.getDataLabel("MEMPLOYEE","FULLNAME")%></td>
					</tr>
					<tr>
						<th><%=screen.getLabel("REQUEST_DATE")%></th>
						<td colspan="3"><%=screen.getDataLabel("REQUEST_DATE")%></td>
					</tr>
				</table>
				
				<table class="table table-head table-hover table-bordered table-title-left">
					<thead>
						<tr>
							<th class="table-title" colspan="7" swlang code='SW001980'>Committee List</th>
						</tr>
						<tr>
							<th><center swlang code='SW000274'>Employee ID</center></th>
							<th swlang code='SW007745'>name surname</th>
							<th swlang code='SW000057'>Position</th>
							<th><%=screen.getLabel("memployee","bu1")%></th>
							<th><%=screen.getLabel("memployee","bu2")%></th>
							<th><%=screen.getLabel("memployee","bu3")%></th>
							<th swlang code='SW006761'>Email</th>
						</tr>
					</thead>
					<tbody>
						<% 
							multi2.goFirst();
							for(int i=1;!multi2.eof();multi2.next(),i++)
							{ 
								multi2.getTable().getCurrentRecordManager().referLangOn();
						%>
						<tr>
							<td><center><%=multi2.getData("MEMPLOYEE","EMPLOYEEID")%></center></td>
							<td><%=multi2.getData("MEMPLOYEE","fullname")%></td>
							<td><%=multi2.getData("MEMPLOYEE","POSITIONNAME")%></td>
							<td><%=multi2.getData("MEMPLOYEE","BU1NAME")%></td>
							<td><%=multi2.getData("MEMPLOYEE","BU2NAME")%></td>
							<td><%=multi2.getData("MEMPLOYEE","BU3NAME")%></td>
							<td><%=multi2.getData("MEMPLOYEE","EMAIL")%></td>
						</tr>
						<%
								multi2.getTable().getCurrentRecordManager().referLangOff();
							}
						%>
					</tbody>
				</table>
				
				
				<table class="table table-head table-hover table-bordered table-title-left">
					<thead>
						<tr>
							<th class="table-title"colspan="6" swlang code='SW012139'>List of Approved Applicant</th>
						</tr>
						<tr>
							<th><center swlang code='SW001393'>No.</center></th>
							<th><center swlang code='SW002159'>Applicant ID</center></th>
							<th swlang code='SW007745'>name surname</th>
							<th><center  swlang code='SW000172'>Age</center></th> 
							<th><center  swlang code='SW002055'>Sex</center></th>
							<th swlang code='SW002163'>Expected Start date</th>
						</tr>
					</thead>
					<tbody>
						<% 
							multi3.goFirst();
							for(int i=1;!multi3.eof();multi3.next(),i++)
							{					multi3.getTable().getCurrentRecordManager().referLangOn();
						%>
						<tr>
							<td><center><%=i%></center></td>
							<td><center><a href="javascript:goView('<%=multi3.getData("V1MCANDIDATERE","APPLICANTID")%>')"><%=multi3.getData("V1MCANDIDATERE","APPLICANTID")%></a></center></td>
							<td><%=multi3.getData("MAPPLICANT","FULLNAME")%></td>
							<td><%=multi3.getData("MAPPLICANT","AGES")%></td>
							<td><%=multi3.getTable().getCurrentRecordManager().getSystemCode("MAPPLICANT","SEX")%></td>
							<td><%=multi3.getData("MAPPLICANT","EXP_STARTDATE")%></td>
						</tr>
						 <%
								multi3.getTable().getCurrentRecordManager().referLangOff();
							}
						%>  
					</tbody>
				</table>
				<%=screen.endJSP()%>
			</form>
		</div>
	</body>
</html>