RRC026.jsp 21.8 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 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="com.csc.library.entry.*,com.csc.library.system.*,com.csc.library.session.*,com.csc.library.utilities.*,java.text.DecimalFormat"%>
<%@ page import="java.util.*,java.io.*,java.sql.*"%>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Locale" %>
<%@ page import="java.util.Date" %>
<%@ page import="com.csc.library.components.*" %>
<%@ page import="com.csc.library.report.ReportUDF" %>
<%@ page import="com.csc.api.recruit.*" %>
<%@ page import="com.csc.library.database.*" %>
<%
	CheckNull chk = new CheckNull();
	CscCalendar c = new CscCalendar();
	ReportUDF udf = new ReportUDF();
	DecimalFormat DFO = new DecimalFormat("#,###,###`");
	UProfile up = null;

	if (session !=null){
		up = (UProfile)session.getAttribute("userprofile");
	}

	String lang = up.get("lang");
	String approvedate = chk.chkNullString(request.getParameter("__approvedate"));
	String approvedate2 = chk.chkNullString(request.getParameter("__approvedate2"));
	String bu2 = chk.chkNullString(request.getParameter("__bu2"));
	String bu3 = chk.chkNullString(request.getParameter("__bu3"));
	String bu2_desc = chk.chkNullString(request.getParameter("__bu2_desc"));
	String bu3_desc = chk.chkNullString(request.getParameter("__bu3_desc"));
	String reason = chk.chkNullString(request.getParameter("__reason"));
	String emptype = chk.chkNullString(request.getParameter("__emptype"));

	String cmd = chk.chkNullString(request.getParameter("__cmd"));
	String isprocess =chk.chkNullString(request.getParameter("__isprocess"));

	String filter = "1=1";

	if(!bu2.equals("")){
		filter += " and bu2='"+bu2+"'";
	}
	if(!bu3.equals("")){
		filter += " and bu3='"+bu3+"'";
	}
	if(!reason.equals("all") && !reason.equals("")){
		filter += " and subrequest='"+reason+"'";
	}
	if(!emptype.equals("all") && !emptype.equals("")){
		filter += " and emp_type='"+emptype+"'";
	}
	if(!approvedate.equals("") && !approvedate2.equals("")){
		filter += " and approvedate between '"+c.setCscCalendar(approvedate).getYYYYMMDD()+"' and '"+c.setCscCalendar(approvedate2).getYYYYMMDD()+"'";
	}

	DbRecord dbrec = new InitialRecord(up).getDbRecord("memployee");
	dbrec.setColumn("*");
%>

<html ng-app="myHR">
	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="../CSS/TISCO.css" rel="stylesheet" type="text/css">
		<link href="../CSS/bootstrap.css" rel="stylesheet">
		<script language="JavaScript" src="../JS/SCREEN.js"></script>
		<SCRIPT TYPE='text/JavaScript' SRC='../JS/DATEINPUT.js'></SCRIPT>
		<SCRIPT TYPE='text/JavaScript' SRC='../JS/VIEWCALENDAR.js'></SCRIPT>
		<script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script>
		<script src="../JS/bootstrap.min.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 language="javascript">setLang('<%=up.get("lang")%>');</script>
		<script language="JavaScript" type="text/JavaScript">

			function GoExport(){
				with(document.cscform){
					// alert(__filter.value);
					var param = "RRC026_EXP.jsp?__filter="+__filter.value;
					window.open(param);
				}
			}

			function GoProcess(){
				with( document.cscform){
          __cmd.value = "search"
          __isprocess.value = "1"
          submit();
				}
			}

			function goHelpBu(helpName,inputName,filter){
				var helpReturn;
				var fixcon;

				if(inputName=="__bu2"){
					helpReturn = inputName+":bu2id,"+inputName+"_desc:edesc";
				}else	if(inputName=="__bu3"){
					helpReturn = inputName+":bu3id,"+inputName+"_desc:edesc";
				}
				fixcon="";
				linkHelp_Return(helpName,helpReturn,fixcon);
			}

			$(function() {
				$('#export').click(function() {
    		  GoExport();
    	  });

    	  $('#search').click(function() {
    		  GoProcess();
    	  });
			});



		</script>
		<style>
			img[height="20"] {
				padding: 0px;
			}
			.center{
				text-align: center;
			}
		</style>
	</head>
	<%
		String helpReturn="";
		if(request.getParameter("__helpReturn")!=null){
		  helpReturn=request.getParameter("__helpReturn");
		}
		String fieldSearch="";
		if(request.getParameter("__fieldSearch")!=null){
		  fieldSearch=request.getParameter("__fieldSearch");
		}
	%>
	<body leftmargin="0" topmargin="0">
		<form name="cscform" method="post" action="RRC026.jsp">
			<!----------BEGIN CSC INITIAL ZONE ------------------------>
			<%/*=screen.InitialVariable()*/%>
			<!----------END CSC INITIAL ZONE -------------------------->
			<input type="hidden" name="__cmd" value="">
			<input type="hidden" name="__screen" value="RRC026">
			<input type="hidden" name="__help" value="">
			<input type="hidden" name="__goPage" value="">
			<input type="hidden" name="__language" value="<%=up.get("lang")%>">
			<input type="hidden" name="__orderBy" value="<%=request.getParameter("__orderBy")%>">
			<input type="hidden" name="__helpReturn" value="<%=helpReturn%>">
			<input type="hidden" name="__fieldSearch" value="<%=fieldSearch%>">
			<input type="hidden" name="__helpName" value="<%=request.getParameter("__helpName")%>">
			<input type="hidden" name="__pageCall" value="<%=request.getParameter("__screen")%>">
			<input type="hidden" name="__fixCon" value="<%=request.getParameter("__fixCon")%>">
			<input type="hidden" name="__export" value="">
			<input type="hidden" name="__isprocess" value="0">
			<input type="hidden" name="__filter" value="<%=filter%>">
			<input type="hidden" name="__calendar" value="">
			<script language="javascript">getInputFormatDate()</script>

			<br>
			<div align="center">
				<table class="large" cellpadding="0"  cellspacing="1"  >
					<tr>
						<td  colspan=2 class="header">RRC026, สถานะใบขออัตรากำลัง</td>
					</tr>
					<tr>
						<td colspan=2>
							<table border="0" cellpadding="0" cellspacing="1"   align="center" class="largest">
								<tr>
									<td colspan=2 class="blankspace"></td>
								</tr>
								<tr>
									<td width="40%" align="right"><%=lang.equalsIgnoreCase("tha")?"วันที่อนุมัติ":"Approved Date"%></td>
									<td style="text-align: left;">
										<input type="text" id="approvedate" name="__approvedate" value="<%=approvedate%>" size="15" maxlength="10" onkeypress="chkIntegerOfDate(this.value,event);" onkeyup="sysIsEdit();formatDate(this);" onblur="chkInputDate(this);" onfocus="this.select();">
										<a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','../IMAGES/BUTTON/SWAP/CALENDAR_SWAP20.gif',1)" onClick="viewCal('approvedate')"><img src="../IMAGES/BUTTON/MAIN/CALENDAR20.gif" alt="Calendar" name="Image1" width="20" height="20" border="0" style="vertical-align: middle"></a>
										-
										<input type="text" id="approvedate2" name="__approvedate2" value="<%=approvedate2%>" size="15" maxlength="10" onkeypress="chkIntegerOfDate(this.value,event);" onkeyup="sysIsEdit();formatDate(this);" onblur="chkInputDate(this);" onfocus="this.select();">
										<a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','../IMAGES/BUTTON/SWAP/CALENDAR_SWAP20.gif',1)" onClick="viewCal('approvedate2')"><img src="../IMAGES/BUTTON/MAIN/CALENDAR20.gif" alt="Calendar" name="Image2" width="20" height="20" border="0" style="vertical-align: middle"></a>
									</td>
								</tr>
								<tr>
								  <td align="right"><%=dbrec.getField("bu2").getDescription()%>&nbsp; </td>
								  <td colspan="3"><input type="text" name="__bu2" size="15" value="<%=bu2%>">
									<a href="javascript:goHelpBu('MBU2HELP','__bu2','')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('imgBu2','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Help" name="imgBu2"  border="0" align="absmiddle"></a>
									<input name="__bu2_desc" type="text" id="__bu2_desc" value="<%=bu2_desc%>" size="50" readonly="">      </td>
								</tr>
								<tr>
								  <td align="right"><%=dbrec.getField("bu3").getDescription()%>&nbsp;</td>
								  <td colspan="3"><input type="text" name="__bu3" size="15" value="<%=bu3%>">
									<a href="javascript:goHelpBu('MBU3HELP','__bu3','')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('imgBu3','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="Help" name="imgBu3"  border="0" align="absmiddle"></a>
									<input name="__bu3_desc" type="text" value="<%=bu3_desc%>" size="50" readonly="">        </td>
								</tr>
								<tr>
									<td align='right'><%=lang.equalsIgnoreCase("tha")?"เหตุผล":"Request Reason"%></td>
									<td>
										<select name='__reason'>
											<option value='all' <%=reason.equals("all")?"selected":""%>><%=lang.equalsIgnoreCase("tha")?"ทั้งหมด":"All"%></option>
											<option value='0' <%=reason.equals("0")?"selected":""%>><%=lang.equalsIgnoreCase("tha")?"ขอเพิ่มพนักงาน":"Additional to Budget"%></option>
											<option value='1' <%=reason.equals("1")?"selected":""%>><%=lang.equalsIgnoreCase("tha")?"ทดแทนพนักงาน":"Substitution Request"%></option>
										</select>
									</td>
								</tr>
								<tr>
									<td align='right' swlang code='SW002408'>Employment Type</td>
									<td>
										<select name='__emptype'>
											<option value='all' <%=emptype.equals("all")?"selected":""%>><%=lang.equalsIgnoreCase("tha")?"ทั้งหมด":"All"%></option>
											<option value='1' <%=emptype.equals("1")?"selected":""%>><%=lang.equalsIgnoreCase("tha")?"พนักงานประจำ":"Permanent" %></option>
											<option value='2' <%=emptype.equals("2")?"selected":""%>><%=lang.equalsIgnoreCase("tha")?"พนักงานชั่วคราว":"Temporary" %></option>
											<option value='3' <%=emptype.equals("3")?"selected":""%>><%=lang.equalsIgnoreCase("tha")?"พนักงานสัญญาจ้าง":"Contract" %></option>
										</select>
									</td>
								</tr>
								<tr>
									<td colspan=2 class="blankspace"></td>
								</tr>
								<tr>
									<td colspan="2" style="text-align: center;">
										<div id="search" class="btn btn-primary btn-sm" style="padding-top: 2px;">
											 Search
										</div>&nbsp;&nbsp;
										<%
											if(isprocess.equals("1")){
										%>
										<div id="export" class="btn btn-primary btn-sm" style="padding-top: 2px;">
											 Export
										</div>
										<%
											}
										%>
									</td>
								</tr>
							</table>

							<%
								if(isprocess.equals("1")){
							%>
							<table class="maxsize table table-bordered " border="1" cellpadding="0" cellspacing="1" cols=14 bgcolor="#CCCCCC">
								<tr>
									<td class="row1 center" colspan='16'><%=up.get("lang").equals("tha")?"สถานะใบขออัตรากำลังคน":"Registration for Opening Position Status"%></td>
								</tr>
								</tr>
									<td class="row1 center" colspan='12'><%=up.get("lang").equals("tha")?"ทะเบียนแจ้งความต้องการพนักงาน":"Requisition Details"%></td>
									<td class="row1 center" colspan='4'><%=up.get("lang").equals("tha")?"สรุปผลการสรรหา":"Recruiting Conclusion"%></td>
								</tr>
								<tr>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"วันที่อนุมัติการขออัตรากำลัง":"Approved Date for Requisition"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"เลขที่เอกสาร":"Document No."%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"สาขา":"Branch"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"แผนก":"Department"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"ตำแหน่ง":"Position"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"งบประมาณ":"Budget"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"ระยะเวลาที่กำหนด":"Time Limit"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"ประเภทการจ้าง":"Employment types"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"ระดับ":"Level"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"จำนวน(คน)":"Number (People)"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"เหตุผล":"Reason"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"ชื่อพนักงานที่ต้องการทดแทน":"Replacement Name"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"จำนวนผู้สมัคร":"Number of Applicants"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"วันที่ปิดตำแหน่ง":"Closed position Date"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"วันที่เริ่มว่าจ้าง":"Employed Date"%></td>
									<td class="row1 center"><%=up.get("lang").equals("tha")?"ชื่อพนักงานใหม่":"New Employee Name"%></td>
								</tr>
								<%
									int emp_pass = 0;
									int emp_left = 0;
									int emp_jobid = 0;
									MyHashMap myemail = new MyHashMap();
									String email ="";
									String fliter_email ="";
									String jobidfilter = "";			
									String emp_pass_name_list = "";
									String substitute_list = "";
									String startDate = "";
									String Bath = up.get("lang").equals("tha")?"บาท":"Baht";
									String Days = up.get("lang").equals("tha")?"วัน":"Days";
									String within = up.get("lang").equals("tha")?"ภายใน":"Within";
									DbInquiry inqmre = new InitialInquiry(up).getDbInquiry("mrequest");
									DbInquiry inqmbranch = new InitialInquiry(up).getDbInquiry("mbranch");
									DbInquiry inqmposition = new InitialInquiry(up).getDbInquiry("mposition");
									DbInquiry inqmem_type = new InitialInquiry(up).getDbInquiry("memployment_type");
									DbInquiry inqbu2 = new InitialInquiry(up).getDbInquiry("mbu2");
									DbInquiry inqbu3 = new InitialInquiry(up).getDbInquiry("mbu3");
									DbInquiry inqgrp = new InitialInquiry(up).getDbInquiry("meventgrpbranch");

									DbInquiry inqapplicant = new InitialInquiry(up).getDbInquiry("mapplicant");
									DbInquiry inqcandidate = new InitialInquiry(up).getDbInquiry("mcandidate");
									DbInquiry inqapp_his = new InitialInquiry(up).getDbInquiry("mapplicant_his");

									DbInquiry inqemp = new InitialInquiry(up).getDbInquiry("memployee");
									DbInquiry inqemp2 = new InitialInquiry(up).getDbInquiry("memployee");
									DbInquiry inqsubstitute = new InitialInquiry(up).getDbInquiry("msubstitute");
									DbInquiry inqjob = new InitialInquiry(up).getDbInquiry("mjobcode");
									DbInquiry inqjoblvl = new InitialInquiry(up).getDbInquiry("mjobcode_level");
									DbInquiry inqjobgrade0 = new InitialInquiry(up).getDbInquiry("mjobgrade0");
									DbInquiry inqdaytype = new InitialInquiry(up).getDbInquiry("meventgrpbranch");

									inqjob.putChild(inqjoblvl);
									inqjob.putChild(inqjobgrade0);
									inqmre.putChild(inqjob);
									inqmre.putChild(inqmbranch);
									inqmre.putChild(inqmposition);
									inqmre.putChild(inqmem_type);
									inqmre.putChild(inqbu2);
									inqmre.putChild(inqbu3);
									inqmre.putChild(inqgrp);
									inqmre.putChild(inqdaytype);
									inqmre.putChild(inqdaytype);
									inqsubstitute.putChild(inqemp2);
								
									inqmre.setColumn("*");
									inqmre.setFilter(filter);
									inqmre.refresh();
									
									// out.print(inqmre.getFilter()+"</br>");
									inqapp_his.setColumn("*");
									inqemp.setColumn("*");
									inqsubstitute.setColumn("*");

									while(inqmre.next()){
										myemail = new MyHashMap();
										emp_jobid = 0;
										jobidfilter = "";
										fliter_email ="";
										emp_pass_name_list = "";
										email = "";
										startDate = "";
										substitute_list = "";
										RestMrequest api_mreq = new RestMrequest();
										api_mreq.setuProfile(up);
										emp_pass = chk.chkNullStringToInt(api_mreq.countHired(inqmre.getString("jobid"),inqmre.getString("requestid")));
										emp_left = chk.chkNullStringToInt(inqmre.getString("emp_num"))-emp_pass;

										// Start Count jobid in 3 table    where getString in email ทั้ง 3  ตัว
										inqapplicant.setColumn("jobid,email");
										inqapplicant.setFilter("jobid = '" + inqmre.getString("jobid") + "' ");
										inqapplicant.setGroupBy("jobid,email");
										inqapplicant.refresh();
										while(inqapplicant.next()){
											if(!myemail.containsKey(inqapplicant.getString("email"))){
												myemail.put(inqapplicant.getString("email"),inqapplicant.getString("email"));
												emp_jobid++;
												if(emp_jobid == 0){
													jobidfilter += "'"+inqapplicant.getString("email")+"'";
												}else{
													jobidfilter += ",'"+inqapplicant.getString("email")+"'";
												}
											}
										}
										fliter_email = " and  email not in ("+ jobidfilter +")";
										inqcandidate.setFilter("jobid = '" + inqmre.getString("jobid") + "' ");
										inqcandidate.refresh();
										while(inqcandidate.next()){
											if(!myemail.containsKey(inqcandidate.getString("email"))){
												myemail.put(inqcandidate.getString("email"),inqcandidate.getString("email"));
												emp_jobid++;
												if(emp_jobid == 0){
													jobidfilter += "'"+inqcandidate.getString("email")+"'";
												}else{
													jobidfilter += ",'"+inqcandidate.getString("email")+"'";
												}
											}
										}
										fliter_email = " and  email not in ("+ fliter_email +")";
										inqapp_his.setFilter("jobid = '"+inqmre.getString("jobid") + "' ");
										inqapp_his.refresh();
										while(inqapp_his.next()){
											if(!myemail.containsKey(inqapp_his.getString("email"))){
												myemail.put(inqapp_his.getString("email"),inqapp_his.getString("email"));
												emp_jobid++;
												if(emp_jobid == 0){
													jobidfilter += "'"+inqapp_his.getString("email")+"'";
												}else{
													jobidfilter += ",'"+inqapp_his.getString("email")+"'"+inqapp_his.recCount();
												}
											}
										}
										inqapplicant.closeConnection();
										inqcandidate.closeConnection();
										inqapp_his.clearOldCondition();
										// End Count jobid in 3 table

										inqapp_his.setFilter("requestid = '"+inqmre.getString("requestid")+"' and employeeid != '0' ");
										inqapp_his.refresh();
										while(inqapp_his.next()){
											inqemp.setFilter("employeeid = '"+inqapp_his.getString("employeeid")+"'");
											inqemp.refresh();
											while(inqemp.next()){
												if(emp_pass_name_list.equals("")){
													emp_pass_name_list = inqemp.getString("fullname");
													startDate = c.setCscCalendar(inqemp.getString("startdate")).getDDMMYYYY();
													
												}else{
													emp_pass_name_list += ", "+inqemp.getString("fullname");
													startDate += ", "+c.setCscCalendar(inqemp.getString("startdate")).getDDMMYYYY();
													
												}
											
											}
										}

										inqsubstitute.setFilter("requestid = '"+inqmre.getString("requestid")+"'");
										inqsubstitute.refresh();
										while(inqsubstitute.next()){
											if(substitute_list.equals("")){
												substitute_list = inqsubstitute.getString("memployee","fullname");
											}else{
												substitute_list += ", "+inqsubstitute.getString("memployee","fullname");
											}
										}
									

								%>
								<tr>
									<td class='center'><%=c.setCscCalendar(inqmre.getString("approvedate")).getDDMMYYYY()%></td>
									<td class='center'><%=inqmre.getString("requestid")%></td>
									<td><%=up.get("lang").equals("tha")?inqmre.getString("mbranch","tdesc"):inqmre.getString("mbranch","edesc")%></td>
									<td><%=inqmre.getString("mbu2","tdesc")%></td>
									<td><%=inqmre.getString("mposition","tdesc")%></td>
									<td><%=inqmre.getString("mjobgrade0","max_salary")%> <%=Bath%></td>
									<td><%=within%> <%=c.setCscCalendar(inqmre.getString("doc_date")).countDay(inqmre.getString("lastdate"))%> <%=Days%></td>
									<%-- <td class='center'><%=udf.getSystemCode("type_reason",up.get("lang"),inqmre.getString("subrequest"))%></td> --%>
									<td class='center'><%=inqmre.getString("memployment_type","tdesc")%></td>
									<td class='center'><%=inqmre.getString("mjobcode_level","tdesc")%></td>
									<%-- <td class='center'><%=inqmre.getString("mjobcode_level","tdesc")%></td> --%>
									<td class='center'><%=inqmre.getString("emp_num")%></td>
									<td class='center'><%=udf.getSystemCode("type_reason",up.get("lang"),inqmre.getString("subrequest"))%></td>
									<td><%=substitute_list%></td>
									<td class='center'><%= emp_jobid%></td>
									<%-- <td class='center'><%=emp_pass%></td> --%>
									<%-- <td class='center'><%=emp_left%></td> --%>
									<td class='center'><%=c.setCscCalendar(inqmre.getString("lastdate")).getDDMMYYYY()%></td>
									<td class='center'><%=c.setCscCalendar(inqmre.getString("startDate")).getDDMMYYYY()%></td>
									<%-- <td class='center'><%=startDate%></td> --%>
									<td><%=emp_pass_name_list%></td>
								</tr>
								<%
									}
								%>
							</table>
							<%
								}
							%>
						</td>
					</tr>
					<tr>
						<td colspan=2 class="blankspace"></td>
					</tr>
					<tr>
						<td colspan=2 class="blankspace"></td>
					</tr>
					<tr bordercolor="0069B3">
						<td colspan=2 class="bottom"></td>
					</tr>
				</table>
			</div>
		</form>
	</body>
</html>