ASP801.jsp 4.48 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page contentType="text/html; charset=UTF-8"%>
<%@ page import="com.csc.library.entry.*" %>
<%@ page import="com.csc.library.utilities.*,com.csc.library.session.*,com.csc.library.database.SystemCode" %>
<jsp:useBean id="ASP801" scope="page" class="com.csc.library.system.Task" />
<html>
<% 
   	ASP801.setChannel(request ,response);
   	ProcessEntry screen=(ProcessEntry)ASP801.process("ProcessEntry","GenAssessorData");
   	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">
<link href="../CSS/bootstrap.css" rel="stylesheet"  type="text/css">
<link href="../CSS/bootstrap_csc_backend.css" rel="stylesheet"  type="text/css">
<script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script>
<script type='text/javascript' src="../JS/bootstrap.js"></script>
<script language="javascript" src='../JS/VIEWCALENDAR.js'></script>
<script type='text/javascript' src='../JS/SCREEN.js'></script>
<script language='javascript'>setLang('<%=screen.getUProfile().get("lang")%>');</script>
<script type='text/javascript' src='../JS/ICONSMENU.js'></script>
<script language="JavaScript" type="text/JavaScript">

function process(){
	confirmProcess();
}
function confirmProcess(){
	with(document.cscform){	
		if(__condition$startdate.value == ""){
			alert(MyCode[0]);
			__condition$startdate.select();
		}else{
			aCon=confirm(MyCode[168]);
			if (aCon==true)	{
				__cmd .value = "save";
				submit();
			}
		}
	}
}
function goHelp(helpName,inputName){
	var helpReturn;
	var fcon="";
		if(inputName=="__condition$bossid" ){
		 	helpReturn="__condition$bossid:employeeid,MEMPLOYEE@FULLNAME";
		}
		linkHelp_Return(helpName,helpReturn);
}
</script>

</head>
<body leftmargin="0" topmargin="0" >
<div class="centered">


    <form name="cscform" method="post" action="#">

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

<%=screen.InitialVariable()%>

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

<div align="center">
  <input type="hidden" name="__calendar" value="">
  <input type="hidden" name="__screen" value="ASP801">
  <input type="hidden" name="__fixCon" value="companyid='<%=screen.getUProfile().get("companyid")%>'">
  <input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"> 
  <input type="hidden" name="__cmd"  value="">
  <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="__name" value="Gen Assessor Data">
  <input type="hidden" name="__ptype" value="">
  <input type="hidden" name="__prclass" value="GenAssessorData">
  <input type="hidden" name="__condition$astid" value="AP10">
  <SCRIPT LANGUAGE="JavaScript">getInputFormatDate();</SCRIPT>
  <table border="0" cellpadding="0" cellspacing="0" class="inner">
		<tr > 
			<td  class="header"> ASP801 , <script language="javascript">swapLang('Define Assessor Process');</script>&nbsp;</td>
		</tr>
		<tr>
			<td  class="blankspace" >&nbsp;</td>
		</tr>
		<tr>
			<td>
				<table>
					<tr>
						<td align="right"><script language="javascript">swapLang('Apprisal atDate');</script>&nbsp;</td>
						<td >
							<input name="__condition$startdate" type="text" size="10" onkeypress="chkIntegerOfDate(this.value,event);" onkeyup="sysIsEdit();formatDate(this);" onblur="chkInputDate2(this,__condition$startdate);" onfocus="this.select();">
							<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','../IMAGES/BUTTON/SWAP/CALENDAR_SWAP20.gif',1)">
							<img src="../IMAGES/BUTTON/MAIN/CALENDAR20.gif" alt="calendar" name="Image1" border="0" align="absmiddle" id="Image1" onClick="viewCal('__condition$startdate')"></a>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	    <tr>
			<td  class="blankspace">&nbsp;</td>
		</tr>

		<tr>
            <td  class="blankspace">&nbsp;</td>
		</tr>
		<tr>
			<td  class="buttonline" colspan="7"><div align="center">
				<button type="button" class="btn btn-primary width100" swlang code="SW000872" onClick="process();">PROCESS</button>
			</div>
			</td>
		</tr>
		<tr> 
			<td class="bottom"></td>
		</tr>
	</table>

<!----------BEGIN CSC ENDING ZONE ------------------------>

<%=screen.endJSP()%>

<!----------END CSC ENDING ZONE -------------------------->

</form>
</body>
</html>