Commit 359de134 authored by arawankar's avatar arawankar

EmpLeaveConf.java

-Added comments in source

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@189560 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c266a2e6
......@@ -1029,6 +1029,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
pstmt.close();
pstmt = null;
}
//Changes by Anjali R. on[16/08/2018][Balance check not perform on confirmation][Start]
//This will not check on confirmation
/*if (noRows == 0 || balDays <= 0)
{
......@@ -1053,7 +1054,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
}
}*/
//This will not check on confirmation
//Changes by Anjali R. on[16/08/2018][Balance check not perform on confirmation][End]
}
}
break;
......@@ -1086,6 +1087,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
pstmt.close();
pstmt = null;
}
//Changes by Anjali R. on[16/08/2018][Balance check not perform on confirmation][Start]
//This will not check on confirmation
/*if (noRows == 0 || balDays <= 0)
{
......@@ -1111,6 +1113,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
}*/
//This will not check on confirmation
//break;
//Changes by Anjali R. on[16/08/2018][Balance check not perform on confirmation][End]
}
else if ("C".equals(museFlag))
{
......@@ -1378,9 +1381,11 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
isError = true;
break;
}
//Modified by Anjali R. on [20/08/2018][Check equal ignore case while comparing two strings][Start]
//if(payable.equals("Y"))
System.out.println("payable--["+payable+"]");
if("Y".equalsIgnoreCase(payable))
//Modified by Anjali R. on [20/08/2018][Check equal ignore case while comparing two strings][End]
{
errCode = "";
System.out.println("nvoNo--["+nvoNo+"]");
......@@ -2087,6 +2092,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
}
//Added by Anjali R. on [20/AUG/2018][Added updated leaveRules2 method][End]
//Modfied by Anjali R. on [20/08/2018][Mthod name change leavesRule2 to leaveRules2_old .this method has old implementation]
private String leaveRules2_old (String empCode, String lveCode, java.sql.Timestamp lvedt, java.sql.Timestamp lvedtTo, Connection conn) throws RemoteException,ITMException
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment