first commit
This commit is contained in:
202
hrmsWeb/hrms/jsp/HrmAttShiftMaster.jsp
Normal file
202
hrmsWeb/hrms/jsp/HrmAttShiftMaster.jsp
Normal file
@@ -0,0 +1,202 @@
|
||||
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
|
||||
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
|
||||
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
|
||||
<%@ taglib uri="/WEB-INF/enrgise-html.tld" prefix="enrgise" %>
|
||||
|
||||
<html:html>
|
||||
<html:base />
|
||||
<head>
|
||||
<TITLE><bean:message key="hrm.title" /></TITLE>
|
||||
<jsp:include page="GenIncludes.jsp" flush="true" />
|
||||
</head>
|
||||
|
||||
|
||||
<BODY onkeydown="hotKeys(event);"; scroll=auto>
|
||||
|
||||
<html:form name="HrmAttSftMstForm" action="HrmAttSftMstBaseAction" type="wenrgise.hrms.webtier.form.HrmAttShiftMasterForm" scope="session">
|
||||
|
||||
<bean:define id="ParentForm" name="HrmAttSftMstForm" toScope="request" />
|
||||
<jsp:include page="GenIconMenu.jsp" flush="true" />
|
||||
<!--Top Most Blue Bar-->
|
||||
<TABLE cellSpacing=0 bgColor=#bdd0ef>
|
||||
<tr>
|
||||
<TD colSpan=12 class=mainHeader height=10><bean:message key="hrm.HrmAttShiftMaster.heading" /></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<enrgise:errors/>
|
||||
|
||||
|
||||
<TABLE cellSpacing=0 cellPadding=0 border=0 >
|
||||
<TR>
|
||||
<TD>
|
||||
<TABLE cellSpacing=0 cellPadding=0 >
|
||||
<TR>
|
||||
<TD class="subHeader" colspan="6">Shift Information</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD colspan=6 bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" width=1 border=0></TD>
|
||||
</TR>
|
||||
<tr>
|
||||
<td class="labelText" width=15%><bean:message key="hrm.HrmAttShiftMaster.shiftCode" /></td>
|
||||
<td colspan="3" ><enrgise:text name="HrmAttSftMstForm" property="shiftCode" maxlength="20" size="23" styleClass="required" disabledClass="required" onchange="doChangeHeader();" />
|
||||
<enrgise:img src="../includes/images/lov.jpg" height="16" align="center" property="butShiftCode" name="HrmAttSftMstForm" onclick="ShowShiftCode();" />
|
||||
<logic:notEqual name="HrmAttSftMstForm" property="screenMode" value="N" >
|
||||
<html:text property="shiftDescription" altKey="hrm.HrmAttShiftMaster.desc" maxlength="250" size="60" styleClass="locked" readonly="true" /></td>
|
||||
</logic:notEqual>
|
||||
<logic:equal name="HrmAttSftMstForm" property="screenMode" value="N" >
|
||||
<html:text property="shiftDescription" altKey="hrm.HrmAttShiftMaster.desc" maxlength="250" size="60" styleClass="required" /></td>
|
||||
</logic:equal>
|
||||
<td class="labelText" width=15%><bean:message key="hrm.HrmAttShiftMaster.startTime" /></td>
|
||||
<td ><enrgise:text name="HrmAttSftMstForm" property="startTime" altKey="hrm.HrmAttShiftMaster.startTime" maxlength="5" size="26" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" onkeypress="isTime(event)" /> <bean:message key="Hrm.AttShift.HH" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="labelText" width=15%><bean:message key="hrm.HrmAttShiftMaster.endTime" /></td>
|
||||
<td ><enrgise:text name="HrmAttSftMstForm" property="endTime" altKey="hrm.HrmAttShiftMaster.endTime" maxlength="5" size="26" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" onkeypress="isTime(event)" /> <bean:message key="Hrm.AttShift.HH" /></td>
|
||||
|
||||
<td class="labelText" width=15%><bean:message key="hrm.HrmAttShiftMaster.relaxationTime" /></td>
|
||||
<td ><enrgise:text property="relaxationTime" altKey="hrm.HrmAttShiftMaster.relaxationTime" maxlength="3" size="26" styleClass="optional" disabledClass="locked" onkeypress="isInteger(event);" onchange="doChangeHeader();" /> <bean:message key="Hrm.AttShift.min" /></td>
|
||||
|
||||
<td class="labelText" width=15%><bean:message key="hrm.HrmAttShiftMaster.startTolerenceTime" /></td>
|
||||
<td ><enrgise:text name="HrmAttSftMstForm" property="startTolerenceTime" altKey="hrm.HrmAttShiftMaster.startTolTime" maxlength="3" size="26" styleClass="optional" disabledClass="locked" onkeypress="isInteger(event);" onchange="doChangeHeader();" /> <bean:message key="Hrm.AttShift.min" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="labelText" width=15%><bean:message key="hrm.HrmAttShiftMaster.endTolerenceTime" /></td>
|
||||
<td ><enrgise:text name="HrmAttSftMstForm" property="endTolerenceTime" altKey="hrm.HrmAttShiftMaster.endTolTime" maxlength="3" size="26" styleClass="optional" disabledClass="locked" onkeypress="isInteger(event);" onchange="doChangeHeader();" /> <bean:message key="Hrm.AttShift.min" /></td>
|
||||
|
||||
<td class="labelText" width=15%><bean:message key="hrm.HrmAttShiftMaster.overlapTime" /></td>
|
||||
<td ><enrgise:text property="overlapTime" altKey="hrm.HrmAttShiftMaster.overlapTime" maxlength="3" size="26" styleClass="optional" disabledClass="locked" onkeypress="isInteger(event);" onchange="doChangeHeader();" /> <bean:message key="Hrm.AttShift.min" /></td>
|
||||
|
||||
<td class=labelText width="15%" ><bean:message key="hrm.HrmAttShiftMaster.txtDayOverlapFlag" /></td>
|
||||
<td colspan="1" ><enrgise:select property="txtDayOverlapFlag" styleClass="required" disabledClass="locked" onchange="doChangeHeader(); ">
|
||||
<enrgise:option value="" ><bean:message key="hrm.Please.select" /></enrgise:option>
|
||||
<enrgise:option value="Y" > <bean:message key="hrm.YES" /></enrgise:option>
|
||||
<enrgise:option value="N" > <bean:message key="hrm.NO" /></enrgise:option>
|
||||
</enrgise:select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="10"></td>
|
||||
</tr>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<!-- Bottom Blue Bar -->
|
||||
<TR>
|
||||
<td>
|
||||
<TABLE cellspacing="0" cellpadding="0" border=0>
|
||||
<tr>
|
||||
|
||||
<td colspan="5" bgColor=#4682b4></td>
|
||||
<td align=right bgColor=#4682b4><img src="../includes/images/man.jpg"></td>
|
||||
|
||||
</TR>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Container Table Ending Columns Starts-->
|
||||
</TD>
|
||||
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
|
||||
<!-- Container Table Ends -->
|
||||
<html:hidden name="HrmAttSftMstForm" property="screenName" value="HrmAttShiftMst" />
|
||||
<html:hidden name="HrmAttSftMstForm" property="forwardedPage" />
|
||||
<html:hidden property="screenMode" name="HrmAttSftMstForm" />
|
||||
<html:hidden name="HrmAttSftMstForm" property="forwardedPage" />
|
||||
<html:hidden property="txtIndex" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="positionRequested" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="userPositionRequested" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="pageRequested" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="userPageRequested" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="lovKey" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="txtSearchFields" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="txtDisplayFields" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="headerDataChanged" />
|
||||
<html:hidden property="detailDataChanged" value="false" />
|
||||
<html:hidden property="headerDataChanged" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="firstLoad" name="HrmAttSftMstForm" />
|
||||
<html:hidden property="headerPrimaryKey" name="HrmAttSftMstForm" />
|
||||
|
||||
|
||||
</html:form>
|
||||
</body>
|
||||
</html:html>
|
||||
|
||||
<script language="javascript">
|
||||
function doExecute()
|
||||
{
|
||||
return "EmpShiftMstGetHeaderAction.do";
|
||||
}
|
||||
function ShowShiftCode()
|
||||
{
|
||||
|
||||
document.forms[0].lovKey.value = "HrmAttSftMst" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtDisplayFields.value = "headerPrimaryKey,shiftCode,shiftDescription";
|
||||
document.forms[0].txtSearchFields.value = "hrm.HrmAttShiftMaster.shiftCode";
|
||||
document.forms[0].txtIndex.value ="";
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />', 'HrmAttSftMstForm');
|
||||
return true;
|
||||
}
|
||||
function doNextHeader()
|
||||
{
|
||||
return "EmpShiftMstGetNextHeader.do";
|
||||
}
|
||||
|
||||
function doPrevHeader()
|
||||
{
|
||||
return "EmpShiftMstGetPrevHeader.do";
|
||||
}
|
||||
|
||||
function doJumpHeader()
|
||||
{
|
||||
return "EmpShiftMstGetNextHeader.do";
|
||||
}
|
||||
|
||||
function doInsertMode()
|
||||
{
|
||||
return "EmpShiftMstNewMode.do"
|
||||
}
|
||||
|
||||
function doQueryMode()
|
||||
{
|
||||
return "EmpShiftMstQueryMode.do"
|
||||
|
||||
}
|
||||
|
||||
function doRefresh()
|
||||
{
|
||||
return "EmpShiftMstRefresh.do"
|
||||
|
||||
}
|
||||
|
||||
function doSave()
|
||||
{
|
||||
return "EmpShiftMstSaveAction.do";
|
||||
|
||||
}
|
||||
function doExit()
|
||||
{
|
||||
return "EmpShiftMstExit.do";
|
||||
|
||||
}
|
||||
function lfnLoad()
|
||||
{
|
||||
if(document.forms[0].firstLoad.value=="")
|
||||
{
|
||||
document.forms[0].action = "/enrgise/HrmAttShiftMstLoadAction.do";
|
||||
document.forms[0].submit();
|
||||
}
|
||||
}
|
||||
</script>
|
Reference in New Issue
Block a user