<%@page contentType="text/html; charset=UTF-8"%>
<%@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.*"  %>
<jsp:useBean id="PRU316" class="com.csc.library.system.Task" scope="page"/>
<%
	PRU316.setChannel(request ,response);
   	ProcessEntry screen=(ProcessEntry)PRU316.process("ProcessEntry","Process");
	   if((request.getParameter("__screen")!=null)&&(request.getParameter("__screen").equals("PRU316_Import")))
			screen.process();
%>

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../CSS/TISCO.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../JS/SCREEN.js"></script>
<script language="javascript">setLang('<%=screen.getUProfile().get("lang")%>');</script>
<script language="JavaScript" >
	function chkProcess() {
		with (document.cscform) {
			if (__cmd.value=='process') {				
				__cmd .value = "save";		
				/*bCon=confirm("Confirm Process ");
				if (bCon==true)	{			
					__cmd .value = "save";							
					submit();
				}*/	
				submit();
			} else {
				action = "PRU316.jsp";
				submit();
			}
		}
	}	
//-->
</script>

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<form  name="cscform"  method="POST" action="PRU316_IMPORT.jsp">


<!----------BEGIN CSC INITIAL ZONE ------------------------>

<%=screen.InitialVariable()%>

<!----------END CSC INITIAL ZONE -------------------------->

<input type="hidden" name="__screen"  value="PRU316_Import">
	<input type="hidden" name="__fixCon"  value="">
	<input type="hidden" name="__cmd"  value="<%=request.getParameter("__cmd")%>">
	<input type="hidden" name="__help"  value="">
	<input type="hidden" name="__user" value="<%=screen.getUProfile().getUserId()%>">
	<input type="hidden" name="__companyid" value='<%=screen.getUProfile().get("companyid")%>'>
	<input type="hidden" name="__tname" value="นำข้อมูลรายได้-รายหักเข้าระบบ">
	<input type="hidden" name="__ename" value="Import payroll data">
	<!-- <input type="hidden" name="__ptype" value="PR10"> -->
	<input type="hidden" name="__prclass" value="ImportPayrollData">
	<input type="hidden" name="__condition$__securityField" value="Off">
	<script language="javascript">getInputFormatDate();</script>
	<input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>">		
	<div id="toolTipLayer" style="position:absolute; visibility: hidden"></div>
  	<script language="javascript">initToolTips();</script>
	<input type="hidden" name="__condition$employeeProcess" value='<%=screen.getUProfile().get("employeeid")%>'>
	<input type="hidden" name="__condition$fileName" value="<%=request.getParameter("__fileName")%>">
	<input type="hidden" name="__condition$xmlName" value="<%=request.getParameter("__xml")%>">
</form>
<script language="javascript">chkProcess();</script >
</body>
</html>