503 lines
33 KiB
Plaintext
503 lines
33 KiB
Plaintext
<%@ 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="HrmAttEmpDOForm" action="HrmAttEmpDayOffBaseAction" type="wenrgise.hrms.webtier.form.HrmAttEmpDayOffForm">
|
|
<bean:define id="ParentForm" name="HrmAttEmpDOForm" 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.HrmAttEmployeeDayOff.heading" /></TD>
|
|
</tr>
|
|
</TABLE>
|
|
<!--// Display Errors -->
|
|
<enrgise:errors/>
|
|
<logic:messagesPresent message="true">
|
|
<Table>
|
|
<html:messages id="message" message="true">
|
|
<TR><TD>
|
|
<bean:write name="message"/>
|
|
</TD></TR>
|
|
</html:messages>
|
|
</Table>
|
|
</logic:messagesPresent>
|
|
<!--// Display Errors -->
|
|
<TABLE cellSpacing=0 cellPadding=0 border=0 >
|
|
<TR>
|
|
<TD>
|
|
|
|
<TABLE cellSpacing=0 cellPadding=0 >
|
|
<!--Employee Detail Starts -->
|
|
<TR>
|
|
<TD class=subHeader colspan=6>Employee Detail</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"><bean:message key="hrm.HrmAttEmployeeDayOff.empNo" /></td>
|
|
<td><html:text property="employeeNo" altKey="hrm.HrmAttEmployeeDayOff.empNo" maxlength="10" size="23" styleClass="required" onchange="doChangeHeader()" readonly="true" /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" property="butEmpNo" name="HrmAttEmpDOForm" onclick=" return ShowEmployeeNo()" />
|
|
<html:text property="employeeName" altKey="hrm.HrmAttEmployeeDayOff.empName" maxlength="60" size="26" styleClass="locked" readonly="true" /></td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td class="labelText"><bean:message key="hrm.HrmAttEmployeeDayOff.periodStartDate" /></td>
|
|
<td><html:text property="periodStartDate" altKey="hrm.HrmAttEmployeeDayOff.periodStartDate" maxlength="10" size="23" styleClass="required" onchange="doChangeHeader()" readonly="true" /><enrgise:img src="../includes/images/cal.gif" width="15" height="19" align="top" styleClass="icon" property="butPeriodEndDate" name="HrmAttEmpDOForm" onclick="showCalendar('periodStartDate',this)" /></td>
|
|
<td colspan="2"></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmAttEmployeeDayOff.periodEndDate" /></td>
|
|
<td><html:text property="periodEndDate" altKey="hrm.HrmAttEmployeeDayOff.periodEndDate" maxlength="10" size="23" styleClass="optional" onchange="doChangeHeader()" readonly="true" /><enrgise:img src="../includes/images/cal.gif" width="15" height="19" align="top" styleClass="icon" property="butPeriodEndDate" name="HrmAttEmpDOForm" onclick="showCalendar('periodEndDate',this)" /></td>
|
|
<td width="17%"></td>
|
|
</tr>
|
|
|
|
|
|
<tr height="10">
|
|
<td colspan="6"></td>
|
|
<td width="17%"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<table cellspacing=0 cellpadding=0 border=0>
|
|
<!-- Detail Information Row starts -->
|
|
<TR>
|
|
<TD colspan=6>
|
|
<!-- Employee Dasy Off Details Table Starts -->
|
|
<TABLE cellSpacing=0 cellPadding=0 >
|
|
<tr>
|
|
<td bgcolor="#4682B4" width="10"><img src="../includes/images/pixel.gif" width="10" height="1" border="0"></td>
|
|
<td bgcolor="#4682B4" nowrap class=actTabText >Employee Day Off Details<img src="../includes/images/pixel.gif" width="10" height="1" border="0"></td>
|
|
<TD><IMG height=19 src="../includes/images/formtab_r.gif" width=10 border=0></TD>
|
|
<TD width="100%" background="../includes/images/line_t.gif"> </TD>
|
|
<TD background="../includes/images/line_t.gif"><IMG height=1 src="../includes/images/pixel.gif" width=10 border=0></TD>
|
|
</tr>
|
|
<TR >
|
|
<!-- Detail table Container starts -->
|
|
<TD colspan=6>
|
|
<TABLE cellSpacing=0 cellPadding=0 border=0>
|
|
<TBODY>
|
|
<TR>
|
|
<TD >
|
|
<DIV id=divDtlTable style="height:270px;width:1020px" >
|
|
<!-- Detail table starts -->
|
|
<TABLE cellSpacing=0 cellPadding=0>
|
|
<TBODY>
|
|
<tr>
|
|
<TD class=tableHeader width="1%"><input type="checkbox" name="selectAll" onclick="toggleCheckBox('checked')" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.startWeekDt" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.endWeekDt" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.fstRstDay" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.secRstDay" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.halfDay1" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.halfDay2" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.restWeek1" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.restWeekDay1" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.restWeek2" /></td>
|
|
<TD class=tableHeader width="5%"><bean:message key="hrm.HrmAttEmployeeDayOff.restWeekDay2" /></td>
|
|
</tr>
|
|
|
|
<!--Insert Logic Iterate Here-->
|
|
<logic:iterate id="HrmAttEmpDO" name="HrmAttEmpDOForm" property="arylstAttEmpDayOff" type="wenrgise.hrms.bean.HrmAttEmpDayOffDtlBean" indexId="idx" >
|
|
<logic:notEqual name="HrmAttEmpDO" property="status" value="D" >
|
|
<tr class='<bean:write name="HrmAttEmpDOForm" property="listRowClass"/>' >
|
|
<td><html:checkbox property="checked" name="HrmAttEmpDOForm" alt="<%=idx.toString()%>" onclick="boxClicked(this.alt);" />
|
|
<html:hidden property="itemChecked" name="HrmAttEmpDO" /><html:hidden property="status" name="HrmAttEmpDO" /><html:hidden property="detailId" name="HrmAttEmpDO" />
|
|
<TD class=tableText ><html:text property="txtStartWeekDate" name="HrmAttEmpDO" styleClass="required" titleKey="hrm.HrmAttEmployeeDayOff.startWeekDt" size="10" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /><enrgise:img src="../includes/images/cal.gif" width="15" height="19" align="top" styleClass="icon" name="HrmAttEmpDOForm" property="butStartWeekDate" alt="<%=idx.toString()%>" onclick="showCalendar('txtStartWeekDate',this)" /></td>
|
|
<TD class=tableText ><html:text property="txtEndWeekDate" name="HrmAttEmpDO" styleClass="locked" titleKey="hrm.HrmAttEmployeeDayOff.endWeekDt" size="10" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /><enrgise:img src="../includes/images/cal.gif" width="15" height="19" align="top" styleClass="icon" name="HrmAttEmpDOForm" property="butEndWeekDate" alt="<%=idx.toString()%>" onclick="showCalendar('txtEndWeekDate',this)" /></td>
|
|
|
|
<td class=tableText><html:select property="txtFirstRestDay" name="HrmAttEmpDO" styleClass="required" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
|
|
<td class=tableText><html:select property="txtSecondRestDay" name="HrmAttEmpDO" styleClass="optional" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtHalfDay1" name="HrmAttEmpDO" styleClass="optional" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtHalfDay2" name="HrmAttEmpDO" styleClass="optional" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtRestWeek1" name="HrmAttEmpDO" styleClass="optional" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.first" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.second" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.third" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.fourth" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtRestWeekDay1" name="HrmAttEmpDO" styleClass="optional" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtRestWeek2" name="HrmAttEmpDO" styleClass="optional" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.first" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.second" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.third" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.fourth" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtRestWeekDay2" name="HrmAttEmpDO" styleClass="optional" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
</tr>
|
|
</logic:notEqual>
|
|
<logic:equal name="HrmAttEmpDO" property="status" value="D" >
|
|
<tr class='<bean:write name="HrmAttEmpDOForm" property="listRowClass"/>' >
|
|
<td><html:checkbox property="checked" name="HrmAttEmpDOForm" alt="<%=idx.toString()%>" onclick="boxClicked(this.alt);" />
|
|
<html:hidden property="itemChecked" name="HrmAttEmpDO" /><html:hidden property="status" name="HrmAttEmpDO" /><html:hidden property="detailId" name="HrmAttEmpDO" /></td>
|
|
<TD class=tableText ><html:text property="txtStartWeekDate" name="HrmAttEmpDO" styleClass="deletedRow" titleKey="hrm.HrmAttEmployeeDayOff.startWeekDt" size="10" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /><img src="../includes/images/cal_dis.gif" width="15" height="19" align="top" styleClass="icon" name="HrmAttEmpDOForm" property="butStartWeekDate" alt="<%=idx.toString()%>" /></td>
|
|
<TD class=tableText ><html:text property="txtEndWeekDate" name="HrmAttEmpDO" styleClass="deletedRow" titleKey="hrm.HrmAttEmployeeDayOff.endWeekDt" size="10" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /><img src="../includes/images/cal_dis.gif" width="15" height="19" align="top" styleClass="icon" name="HrmAttEmpDOForm" property="butEndWeekDate" alt="<%=idx.toString()%>" /></td>
|
|
|
|
<td class=tableText><html:select property="txtFirstRestDay" name="HrmAttEmpDO" styleClass="locked" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
|
|
<td class=tableText><html:select property="txtSecondRestDay" name="HrmAttEmpDO" styleClass="locked" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtHalfDay1" name="HrmAttEmpDO" styleClass="locked" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtHalfDay2" name="HrmAttEmpDO" styleClass="locked" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtRestWeek1" name="HrmAttEmpDO" styleClass="locked" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.first" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.second" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.third" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.fourth" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtRestWeekDay1" name="HrmAttEmpDO" styleClass="locked" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtRestWeek2" name="HrmAttEmpDO" styleClass="locked" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.first" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.second" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.third" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.fourth" /></html:option>
|
|
</html:select></td>
|
|
|
|
<td class=tableText><html:select property="txtRestWeekDay2" name="HrmAttEmpDO" styleClass="locked" onchange='<%="doChangeDetail("+idx.toString()+")"%>' >
|
|
<html:option value="" > <bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="7" > <bean:message key="hrm.HrmAttEmployeeDayOff.sunday" /></html:option>
|
|
<html:option value="1" > <bean:message key="hrm.HrmAttEmployeeDayOff.monday" /></html:option>
|
|
<html:option value="2" > <bean:message key="hrm.HrmAttEmployeeDayOff.tuesday" /></html:option>
|
|
<html:option value="3" > <bean:message key="hrm.HrmAttEmployeeDayOff.wednesday" /></html:option>
|
|
<html:option value="4" > <bean:message key="hrm.HrmAttEmployeeDayOff.thursday" /></html:option>
|
|
<html:option value="5" > <bean:message key="hrm.HrmAttEmployeeDayOff.friday" /></html:option>
|
|
<html:option value="6" > <bean:message key="hrm.HrmAttEmployeeDayOff.saturday" /></html:option>
|
|
</html:select></td>
|
|
</tr>
|
|
</logic:equal>
|
|
</logic:iterate>
|
|
|
|
</TBODY>
|
|
</TABLE>
|
|
</DIV>
|
|
</TD>
|
|
</TR>
|
|
|
|
<!-- Get details starts -->
|
|
<tr>
|
|
<td colspan=11>
|
|
<jsp:include page="GenDetailMenu.jsp" />
|
|
<td width="17%"></td>
|
|
</TD>
|
|
</tr>
|
|
</TBODY>
|
|
</TABLE>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
</TABLE>
|
|
</td>
|
|
</tr>
|
|
<!-- Tab Table Ends -->
|
|
|
|
<!-- Bottom Blue Bar -->
|
|
<TR>
|
|
<td width="100%">
|
|
<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>
|
|
<td width="17%"></td>
|
|
</TR>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<!-- Container Table Ending Columns Starts-->
|
|
</TD>
|
|
|
|
</TR>
|
|
</TBODY>
|
|
</TABLE>
|
|
<html:hidden name="HrmAttEmpDOForm" property="screenMode" />
|
|
<html:hidden name="HrmAttEmpDOForm" property="screenName" value="HrmAttEmpDayOff" />
|
|
<html:hidden property="forwardedPage" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="positionRequested" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="pageRequested" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="userPageRequested" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="userPositionRequested" name="HrmAttEmpDOForm" />
|
|
|
|
<html:hidden property="headerPrimaryKey" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="headerDataChanged" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="detailDataChanged" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="txtIndex" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="empId" name="HrmAttEmpDOForm" />
|
|
|
|
<html:hidden property="firstLoad" name="HrmAttEmpDOForm" />
|
|
|
|
|
|
|
|
<input type="hidden" name="multipleFlag" >
|
|
<input type="hidden" name="queryParam" >
|
|
|
|
|
|
|
|
|
|
<html:hidden property="lovKey" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="txtSearchFields" name="HrmAttEmpDOForm" />
|
|
<html:hidden property="txtDisplayFields" name="HrmAttEmpDOForm" />
|
|
|
|
|
|
<!-- Container Table Ends -->
|
|
|
|
</html:form>
|
|
</body>
|
|
</html:html>
|
|
|
|
<script language="javascript">
|
|
|
|
function doQueryMode()
|
|
{
|
|
|
|
return "HrmAttEmpDayOffQueryModeAction.do";
|
|
}
|
|
|
|
function doOnLoad()
|
|
{
|
|
if(document.forms[0].firstLoad.value!="false")
|
|
{
|
|
return "HrmAttEmpDayOffOnLoadAction.do";
|
|
}
|
|
}
|
|
function doInsertMode()
|
|
{
|
|
|
|
return "HrmAttEmpDayOffNewModeAction.do";
|
|
}
|
|
function doExit()
|
|
{
|
|
|
|
return "HrmAttEmpDayOffExitAction.do";
|
|
}
|
|
|
|
function boxClicked(val)
|
|
{
|
|
if(document.getElementsByName("checked")[val].checked)
|
|
{
|
|
document.getElementsByName("itemChecked")[val].value = "Y";
|
|
}
|
|
else
|
|
{
|
|
document.getElementsByName("itemChecked")[val].value = "N";
|
|
}
|
|
}
|
|
|
|
function doSave()
|
|
{
|
|
document.forms[0].screenMode.value = 'U';
|
|
document.forms[0].detailDataChanged.value = 'true';
|
|
return "HrmAttEmpDayOffSaveAction.do";
|
|
}
|
|
|
|
function doRefresh()
|
|
{
|
|
return "HrmAttEmpDayOffRefreshAction.do";
|
|
}
|
|
|
|
function doGetDetail()
|
|
{
|
|
|
|
return "HrmAttEmpDayOffFirstGetDetailAction.do";
|
|
}
|
|
|
|
function doAddRow()
|
|
{
|
|
|
|
return "HrmAttEmpDayOffAddRowAction.do";
|
|
}
|
|
|
|
function doDelRow()
|
|
{
|
|
return "HrmAttEmpDayOffDeleteRowAction.do";
|
|
}
|
|
|
|
function doValidate()
|
|
{
|
|
return "HrmAttEmpDayOffValidateAction.do";
|
|
}
|
|
|
|
function doOnChangeLov(lovName)
|
|
{
|
|
if(lovName == 'AttEmpNoHrmAttEmpDayOffN')
|
|
{
|
|
doBaseValidate();
|
|
}
|
|
if(lovName == 'AttEmpNoHrmAttEmpDayOffQ')
|
|
{
|
|
doBaseValidate();
|
|
}
|
|
}
|
|
|
|
|
|
function doPrevDetail()
|
|
{
|
|
return "HrmAttEmpDayOffDetailPageAction.do";
|
|
}
|
|
|
|
function doNextDetail()
|
|
{
|
|
return "HrmAttEmpDayOffDetailPageAction.do";
|
|
}
|
|
|
|
function doJumpDetail()
|
|
{
|
|
return "HrmAttEmpDayOffDetailPageAction.do";
|
|
}
|
|
|
|
|
|
function ShowEmployeeNo()
|
|
{
|
|
document.forms[0].lovKey.value = "AttEmpNo" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
|
document.forms[0].txtSearchFields.value = "hrm.HrmAttEmployeeDayOff.empNo,hrm.HrmAttEmployeeDayOff.empName";
|
|
document.forms[0].txtDisplayFields.value = "empId,employeeNo,employeeName";
|
|
document.forms[0].multipleFlag.value = "false";
|
|
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmAttEmpDOForm');
|
|
return true;
|
|
|
|
}
|
|
|
|
function ShowEmployeeNoDtl(i)
|
|
{
|
|
document.forms[0].lovKey.value = "AttEmpNoDtl" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
|
document.forms[0].txtSearchFields.value = "hrm.HrmAttEmployeeDayOff.empNo,hrm.HrmAttEmployeeDayOff.empName";
|
|
document.forms[0].txtDisplayFields.value = "txtEmpId,txtEmpNo,txtEmpName";
|
|
document.forms[0].txtIndex.value = i;
|
|
document.forms[0].multipleFlag.value = "false";
|
|
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmAttEmpDOForm');
|
|
return true;
|
|
|
|
}
|
|
|
|
</script> |