455 lines
22 KiB
Plaintext
455 lines
22 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" />
|
|
<meta http-equiv=pragma content=no-cache>
|
|
</head>
|
|
|
|
|
|
<BODY scroll="auto" onkeydown="hotKeys(event);";>
|
|
<html:form name="HrmLvEncashForm" action="HrmEmpLeaveEncashBaseAction" type="wenrgise.hrms.webtier.form.HrmLvEncashForm">
|
|
<bean:define id="ParentForm" name="HrmLvEncashForm" toScope="request" />
|
|
|
|
|
|
|
|
|
|
<logic:equal property="workListId" name="HrmLvEncashForm" value="" >
|
|
<jsp:include page="GenIconMenu.jsp" flush="true" />
|
|
</logic:equal>
|
|
<logic:notEqual property="workListId" name="HrmLvEncashForm" value="" >
|
|
<TABLE cellspacing="0" cellpadding="0" border=0>
|
|
<tr height="25">
|
|
<td colspan="6" bgColor=#4682b4></td>
|
|
</TR>
|
|
</table>
|
|
<bean:define id="left" name="ParentForm" property="positionRequested"/>
|
|
<bean:define id="right" name="ParentForm" property="totalCount"/>
|
|
<table cellSpacing=0 bgColor=#bdd0ef>
|
|
<tr height=12>
|
|
<td colSpan=11></td>
|
|
</tr>
|
|
<TR >
|
|
<TD ><enrgise:img name="ParentForm" property="butQuery" onmouseover='this.src="../includes/images/query_act.jpg"' onmouseout='this.src="../includes/images/query.jpg"' alt="Query (Ctrl+Q)" src="../includes/images/query.jpg" onclick="doBaseQueryMode()" /><enrgise:img name="ParentForm" property="butInsert" onmouseover='this.src="../includes/images/insert_act.jpg"' onmouseout='this.src="../includes/images/insert.jpg"' alt="Insert (Alt+N)" src="../includes/images/insert.jpg" onclick="doBaseInsertMode()"/></TD>
|
|
<TD width="2%"></TD>
|
|
<TD ><enrgise:img name="ParentForm" property="butExecute" onmouseover='this.src="../includes/images/execute_act.jpg"' onmouseout='this.src="../includes/images/execute.jpg"' alt="Execute (Ctrl+U)" src="../includes/images/execute.jpg" onclick="doBaseExecute()" /><enrgise:img name="ParentForm" property="butSave" onmouseover='this.src="../includes/images/save_act.jpg"' onmouseout='this.src="../includes/images/save.jpg"' alt="Save (Ctrl+S)" src="../includes/images/save.jpg" onclick="doBaseSave()" />
|
|
<enrgise:img name="ParentForm" property="butDelete" onmouseover='this.src="../includes/images/delete_act.jpg"' onmouseout='this.src="../includes/images/delete.jpg"' alt="Delete (Ctrl+D)" src="../includes/images/delete.jpg" onclick="doBaseDelete()" /><enrgise:img name="ParentForm" property="butRefresh" onmouseover='this.src="../includes/images/refresh_act.jpg"' onmouseout='this.src="../includes/images/refresh.jpg"' alt="Refresh (Ctrl+R)" src="../includes/images/refresh.jpg" onclick="doBaseRefresh()" />
|
|
<enrgise:img name="ParentForm" property="butPrint" onmouseover='this.src="../includes/images/print_act.jpg"' onmouseout='this.src="../includes/images/print.jpg"' alt="Print (Ctrl+P)" src="../includes/images/print.jpg" /></TD>
|
|
<TD width="2%" bgColor=#bdd0ef></TD>
|
|
<TD><enrgise:img name="ParentForm" property="butExit" onmouseover='this.src="../includes/images/exit_act.jpg"' onmouseout='this.src="../includes/images/exit.jpg"' alt="Exit (Alt+X)" src="../includes/images/exit.jpg" onclick="doBaseExit()" />
|
|
<enrgise:img name="ParentForm" property="butHelp" onmouseover='this.src="../includes/images/help_act.jpg"' onmouseout='this.src="../includes/images/help.jpg"' alt="Help (Ctrl+?)" src="../includes/images/help.jpg" onclick="doBaseHelp()" /></TD>
|
|
<TD width="50%"></TD>
|
|
<TD ><enrgise:img name="ParentForm" property="butPrevHeader" src='../includes/images/butn_prev.jpg' onmouseover='this.src="../includes/images/butn_prev_act.jpg"' onmouseout='this.src="../includes/images/butn_prev.jpg"' alt="Butn_prev (Ctrl+<)" onclick="doBasePrevHeader()" /></td>
|
|
<td class=dtlNavText><bean:write name="left" /> of
|
|
<bean:write name="right" /></td>
|
|
<td align=right><enrgise:img name="ParentForm" property="butNextHeader" src="../includes/images/butn_next.jpg" onmouseover='this.src="../includes/images/butn_next_act.jpg"' onmouseout='this.src="../includes/images/butn_next.jpg"' alt="Butn_next (Ctrl+>)" onclick="doBaseNextHeader()" /></td>
|
|
<td align=right><enrgise:text property="newPositionRequested" size="1" maxlength="3" onkeydown="isInteger(event)" title="wenrgise.common.jumpDetail" alt="N" disabledClass="locked" styleClass="optional" /></td>
|
|
<td ><enrgise:img name="ParentForm" property="butJumpHeader" alt="Go (Ctrl+G)" src="../includes/images/go.jpg" onmouseover='this.src="../includes/images/go_act.jpg"' onmouseout='this.src="../includes/images/go.jpg"' onclick="doBaseJumpHeader()" /></td>
|
|
<td > </td>
|
|
|
|
</TR>
|
|
</table>
|
|
<table>
|
|
<tr>
|
|
<td colspan="11" class="userText"></td>
|
|
</tr>
|
|
<enrgise:checkSession/>
|
|
</TABLE>
|
|
</logic:notEqual>
|
|
|
|
<!--Top Most Blue Bar-->
|
|
<TABLE cellSpacing=0 bgColor=#bdd0ef>
|
|
<tr>
|
|
<TD colSpan=12 class=mainHeader height=10><bean:message key="hrm.HrmEmpEncash.mainHeader" /></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 >
|
|
<!-- Header Starts -->
|
|
<TR>
|
|
<TD class=subHeader colspan=6><bean:message key="hrm.HrmEmpEncash.subHeader1" /></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.HrmEmpEncash.employeeNumber" /></td>
|
|
<td><html:text property="employeeNumber" titleKey="hrm.HrmEmpEncash.employeeNumber" size="26" styleClass="locked" readonly="true" alt="P" /><!--<enrgise:img height="16" align="center" src="../includes/images/lov.jpg" property="butEmpNo" name="HrmLvEncashForm" styleClass="icon" onclick="return ShowEmployeeNo()" />--></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.employeeName" /></td>
|
|
<td colspan="3"><html:text property="firstName" titleKey="hrm.HrmEmpEncash.FirstName" size="26" styleClass="locked" readonly="true" alt="A" /><html:text property="middleName" titleKey="hrm.HrmEmpEncash.MiddleName" size="37" styleClass="locked" readonly="true" alt="A" /><html:text property="lastName" titleKey="hrm.HrmEmpEncash.LastName" size="26" styleClass="locked" readonly="true" alt="A" /></td>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.grade" /></td>
|
|
<td><html:text property="grade" titleKey="hrm.HrmEmpEncash.grade" size="26" styleClass="locked" readonly="true" alt="P" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.designation" /></td>
|
|
<td><html:text property="designation" titleKey="hrm.HrmEmpEncash.designation" size="26" styleClass="locked" readonly="true" alt="P" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.location" /></td>
|
|
<td><html:text property="location" titleKey="hrm.HrmEmpEncash.location" size="26" styleClass="locked" readonly="true" alt="C" /></td>
|
|
|
|
</tr>
|
|
|
|
<TR>
|
|
<TD class=subHeader colspan=6>Encashment Query</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.HrmEmpEncash.fromDate" /></td>
|
|
<td><html:text property="fromDate" titleKey="hrm.HrmEmpEncash.fromDate" size="23" styleClass="locked" readonly="true" /><enrgise:img src="../includes/images/cal.gif" width="15" height="19" align="top" styleClass="icon" property="butFromDate" name="HrmLvEncashForm" onclick="showCalendar('fromDate',this)" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.toDate" /></td>
|
|
<td><html:text property="toDate" titleKey="hrm.HrmEmpEncash.toDate" size="23" styleClass="locked" readonly="true" /><enrgise:img src="../includes/images/cal.gif" width="15" height="19" align="top" styleClass="icon" property="butToDate" name="HrmLvEncashForm" onclick="showCalendar('toDate',this)" /></td>
|
|
<td colspan="2"></td>
|
|
</TR>
|
|
<tr height="10">
|
|
<td colspan="6"></td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
<table cellspacing=0 cellpadding=0 border=0>
|
|
<!-- Detail Information Row starts -->
|
|
<TR>
|
|
<TD colspan=6>
|
|
<!-- Table Starts -->
|
|
<TABLE cellSpacing=0 cellPadding=0 >
|
|
<tr>
|
|
<TD bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" border=0></TD>
|
|
<TD class=actTabText noWrap bgColor=#4682b4>Encashment Details<IMG height=1 src="../includes/images/pixel.gif" width=10 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=5>
|
|
<TABLE cellSpacing=0 cellPadding=0 border=0>
|
|
<TBODY>
|
|
<TR>
|
|
<TD >
|
|
<DIV id=divDtlTable style="height:180px">
|
|
<!-- Detail table starts -->
|
|
<TABLE cellSpacing=0 cellPadding=0>
|
|
<TBODY>
|
|
<tr>
|
|
<td class=tableHeader height="20" colspan="6"></td>
|
|
</tr>
|
|
<tr height="10">
|
|
<td colspan="6"></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.leaveCodes" /></td>
|
|
<td><html:text property="leaveCodes" titleKey="hrm.HrmEmpEncash.leaveCodes" maxlength="20" size="23" styleClass="required" onchange="doChangeHeader();" readonly="true" alt="P" /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" property="butLeaveCodes" name="HrmLvEncashForm" styleClass="icon" onclick="return ShowLeaveCode()" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.description" /></td>
|
|
<td><html:text property="description" titleKey="hrm.HrmEmpEncash.description" size="26" styleClass="locked" onchange="doChangeHeader();" name="HrmLvEncashForm" alt="P" readonly="true" /></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td class="labelText"><bean:message key="hrm.HrmLeaveApplication.fromDate" /></td>
|
|
<td><html:text property="lvApplnFromDate" titleKey="hrm.HrmLeaveApplication.fromDate" size="26" styleClass="locked" onchange="doChangeHeader();" name="HrmLvEncashForm" readonly="true" alt="P" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmLeaveApplication.toDate" /></td>
|
|
<td><html:text property="lvApplnToDate" titleKey="hrm.HrmLeaveApplication.toDate" size="26" styleClass="locked" onchange="doChangeHeader();" name="HrmLvEncashForm" alt="P" readonly="true" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.dateApplied" /></td>
|
|
<td><html:text property="dateApplied" titleKey="hrm.HrmEmpEncash.dateApplied" size="23" styleClass="required" onchange="doChangeHeader();" readonly="true" alt="D" /><enrgise:img src="../includes/images/cal.gif" width="15" height="19" align="top" styleClass="lov" property="butDateApplied" name="HrmLvEncashForm" onclick="showCalendar('dateApplied',this)" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.daysEncashed" /></td>
|
|
<td><enrgise:text property="daysEncashed" titleKey="hrm.HrmEmpEncash.daysEncashed" maxlength="5" size="26" styleClass="required" onkeypress="isInteger(event)" onchange="doChangeHeader();" name="HrmLvEncashForm" disabledClass="locked" alt="N" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.eligibleAmount" /></td>
|
|
<td><html:text property="eligibleAmount" titleKey="hrm.HrmEmpEncash.eligibleAmount" size="26" styleClass="locked" name="HrmLvEncashForm" alt="N" onchange="doChangeHeader();" readonly="true" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.changeStatus" /></td>
|
|
<td><html:select property="changeStatus" alt="changeStatus" styleClass="locked" disabled="true" >
|
|
<html:option value="" ><bean:message key="hrm.pleaseSelect" /></html:option>
|
|
<html:option value="N" > <bean:message key="hrm.HrmEmpEncash.new" /></html:option>
|
|
<html:option value="P" > <bean:message key="hrm.HrmEmpEncash.pending" /></html:option>
|
|
<html:option value="A" > <bean:message key="hrm.HrmEmpEncash.approved" /></html:option>
|
|
<html:option value="R" > <bean:message key="hrm.HrmEmpEncash.rejected" /></html:option>
|
|
</html:select></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.pfDeduction" /></td>
|
|
<td><html:text property="pfDeduction" titleKey="hrm.HrmEmpEncash.pfDeduction" size="26" styleClass="locked" onchange="doChangeHeader();" name="HrmLvEncashForm" alt="N" readonly="true" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.taxAmount" /></td>
|
|
<td><enrgise:text property="taxAmount" titleKey="hrm.HrmEmpEncash.taxAmount" size="26" styleClass="optional" disabledClass="locked" onchange="doChangeHeader();" onkeypress="isInteger(event)" name="HrmLvEncashForm" alt="N" /></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmEmpEncash.encashedAmount" /></td>
|
|
<td><html:text property="encashedAmount" titleKey="hrm.HrmEmpEncash.encashedAmount" size="26" styleClass="locked" onchange="doChangeHeader();" name="HrmLvEncashForm" alt="N" readonly="true" /></td>
|
|
</tr>
|
|
<tr height="10">
|
|
<td colspan="6"><html:hidden property="level" name="HrmLvEncashForm" /></td>
|
|
</tr>
|
|
|
|
<!--Insert Logic Iterate Here-->
|
|
</TBODY>
|
|
</TABLE>
|
|
</DIV>
|
|
</TD>
|
|
</TR>
|
|
|
|
<!-- Get details starts -->
|
|
</TBODY>
|
|
</TABLE>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
</TABLE>
|
|
</td>
|
|
</tr>
|
|
<!-- Tab Table Ends -->
|
|
|
|
<!-- Bottom Blue Bar -->
|
|
<TR>
|
|
<td>
|
|
<TABLE cellspacing="0" cellpadding="0" border=0>
|
|
<tr>
|
|
<td width=45% align=center bgColor=#4682b4></td>
|
|
<td bgColor=#4682b4></td>
|
|
<td bgColor=#4682b4><enrgise:button alt="Submit (Alt+S)" onclick="doBaseSubmit()" name="HrmLvEncashForm" property="butSubmit" styleClass="bottomBarText"><u>S</u>ubmit</enrgise:button><enrgise:button alt="Approve (Alt+P)" onclick="doBaseApprove()" name="HrmLvEncashForm" property="butApprove" styleClass="bottomBarText">A<u>p</u>prove</enrgise:button><enrgise:button alt="Reject (Alt+J)" onclick="doBaseReject()" name="HrmLvEncashForm" property="butReject" styleClass="bottomBarText"> Re<u>j</u>ect </enrgise:button></td>
|
|
<td 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 property="screenName" name="HrmLvEncashForm" value="HrmEmpLeaveEncashment" />
|
|
<html:hidden name="HrmLvEncashForm" property="forwardedPage" />
|
|
<html:hidden property="positionRequested" name="HrmLvEncashForm" />
|
|
<html:hidden property="screenMode" name="HrmLvEncashForm" />
|
|
|
|
<html:hidden property="userPageRequested" name="HrmLvEncashForm" />
|
|
<html:hidden property="userPositionRequested" name="HrmLvEncashForm" />
|
|
<html:hidden property="pageRequested" name="HrmLvEncashForm" />
|
|
|
|
<html:hidden property="lovKey" name="HrmLvEncashForm" />
|
|
<html:hidden property="txtSearchFields" name="HrmLvEncashForm" />
|
|
<html:hidden property="txtDisplayFields" name="HrmLvEncashForm" />
|
|
<html:hidden property="txtIndex" name="HrmLvEncashForm" />
|
|
<html:hidden property="headerDataChanged" name="HrmLvEncashForm" />
|
|
|
|
<html:hidden property="employeeId" name="HrmLvEncashForm" />
|
|
|
|
<html:hidden property="leaveCodeId" name="HrmLvEncashForm" />
|
|
<html:hidden property="lvTxnId" name="HrmLvEncashForm" />
|
|
<html:hidden property="allFlag" name="HrmLvEncashForm" />
|
|
<html:hidden property="totalEncashLimit" name="HrmLvEncashForm" />
|
|
<html:hidden property="buttonName" name="HrmLvEncashForm" />
|
|
<html:hidden property="firstLoad" name="HrmLvEncashForm" />
|
|
<html:hidden property="workListId" name="HrmLvEncashForm" />
|
|
|
|
<input type="hidden" name="multipleFlag" >
|
|
<input type="hidden" name="queryParam" >
|
|
|
|
|
|
|
|
</html:form>
|
|
</body>
|
|
</html:html>
|
|
|
|
<script language="javascript">
|
|
|
|
function doChangeHeader()
|
|
{
|
|
|
|
if(document.forms[0].screenMode.value=="U" || document.forms[0].screenMode.value=="N")
|
|
|
|
document.forms[0].headerDataChanged.value="true";
|
|
}
|
|
|
|
function doQueryMode()
|
|
{
|
|
|
|
return "HrmEmpEncashQueryModeAction.do";
|
|
}
|
|
|
|
|
|
function doInsertMode()
|
|
{
|
|
|
|
return "HrmEmpEncashNewModeAction.do";
|
|
}
|
|
|
|
|
|
function doExecute()
|
|
{
|
|
|
|
return "HrmEmpEncashGetHeaderAction.do";
|
|
}
|
|
|
|
function doSave()
|
|
{
|
|
return "HrmEmpEncashSaveAction.do";
|
|
|
|
}
|
|
|
|
function doDelete()
|
|
{
|
|
|
|
return "HrmEmpEncashDeleteAction.do";
|
|
|
|
}
|
|
|
|
function doRefresh()
|
|
{
|
|
|
|
return "HrmEmpEncashRefreshAction.do";
|
|
|
|
}
|
|
function doOnChangeLov(lovName)
|
|
{
|
|
if((lovName=="LvEncashEmpNoHrmEmpLeaveEncashmentQ")||(lovName=="LvEncashEmpNoHrmEmpLeaveEncashmentN"))
|
|
{
|
|
doBaseValidate();
|
|
}
|
|
|
|
}
|
|
function doPrevHeader()
|
|
{
|
|
return "HrmEmpEncashGetNextHeaderAction.do";
|
|
}
|
|
function doValidate()
|
|
{
|
|
return "HrmEmpEncashValidateAction.do";
|
|
}
|
|
|
|
function doNextHeader()
|
|
{
|
|
return "HrmEmpEncashGetNextHeaderAction.do";
|
|
}
|
|
|
|
function doJumpHeader()
|
|
{
|
|
return "HrmEmpEncashFirstGetNextHeaderAction.do";
|
|
}
|
|
|
|
function doGetDetail()
|
|
{
|
|
|
|
return "HrmEmpEncashGetDetailAction.do";
|
|
}
|
|
|
|
function doAddRow()
|
|
{
|
|
|
|
return "HrmEmpEncashAddRowAction.do";
|
|
}
|
|
function doExit()
|
|
{
|
|
|
|
return "HrmEmpEncashExitAction.do";
|
|
}
|
|
|
|
function doDelRow()
|
|
{
|
|
return "HrmEmpEncashDeleteRowAction.do";
|
|
}
|
|
|
|
function doGetDetailTableName()
|
|
{
|
|
return "HrmEmpEncash";
|
|
}
|
|
|
|
function doPrevDetail()
|
|
{
|
|
|
|
return "HrmEmpEncashGetDetailPageAction.do";
|
|
}
|
|
|
|
function doNextDetail()
|
|
{
|
|
|
|
return "HrmEmpEncashGetDetailPageAction.do";
|
|
}
|
|
|
|
function doJumpDetail()
|
|
{
|
|
return "HrmEmpEncashGetDetailPageAction.do";
|
|
}
|
|
function doOnLoad()
|
|
{
|
|
if(document.forms[0].firstLoad.value!="false")
|
|
{
|
|
return "HrmEmpEncashOnLoadAction.do";
|
|
}
|
|
}
|
|
function ShowEmployeeNo()
|
|
{
|
|
document.forms[0].lovKey.value = "LvEncashEmpNo" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
|
document.forms[0].txtSearchFields.value = "hrm.HrmEmpLoanAppln.employeeNumber,hrm.HrmEmpLoanAppln.employeeName";
|
|
document.forms[0].txtDisplayFields.value = "employeeId,employeeNumber,firstName,middleName,lastName,grade,designation,location";
|
|
document.forms[0].multipleFlag.value = "false";
|
|
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmAdvApplnForm');
|
|
return true;
|
|
}
|
|
function ShowLeaveCode()
|
|
{
|
|
document.forms[0].lovKey.value = "LvEmEncLeaveCode" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
|
document.forms[0].txtSearchFields.value = "hrm.HrmEmpEncash.leaveCodes,hrm.HrmEmpEncash.description";
|
|
document.forms[0].txtDisplayFields.value = "leaveCodeId,leaveCodes,description,allFlag,totalEncashLimit,lvTxnId,lvApplnFromDate,lvApplnToDate";
|
|
document.forms[0].multipleFlag.value = "false";
|
|
document.forms[0].queryParam.value="employeeNumber="+document.forms[0].employeeNumber.value;
|
|
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmLvEncashForm');
|
|
return true;
|
|
}
|
|
|
|
|
|
function doApprove()
|
|
{
|
|
document.forms[0].buttonName.value="butApprove";
|
|
return "HrmLvEncashGetButtonAction.do";
|
|
}
|
|
function doReject()
|
|
{
|
|
document.forms[0].buttonName.value="butReject";
|
|
return "HrmLvEncashGetButtonAction.do";
|
|
}
|
|
|
|
function doSubmit()
|
|
{
|
|
document.forms[0].buttonName.value="butSubmit";
|
|
return "HrmLvEncashGetButtonAction.do";
|
|
}
|
|
</script>
|