Commit 6b28aa53 authored by piyush's avatar piyush

Changes in Employee LEave confirmation component


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@44829 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3a1a8320
...@@ -1985,6 +1985,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal, ...@@ -1985,6 +1985,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
} }
} }
} }
}
else else
{ {
sql = "SELECT PAYABLE FROM LEAVES WHERE LVE_CODE = ?"; sql = "SELECT PAYABLE FROM LEAVES WHERE LVE_CODE = ?";
...@@ -2080,7 +2081,6 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal, ...@@ -2080,7 +2081,6 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
} }
} }
} }
}
if(sysUtilMethods.DaysAfter(toDate, lvedt) > 1) if(sysUtilMethods.DaysAfter(toDate, lvedt) > 1)
{ {
lvePrevToDate = sysUtilMethods.dateTime(sysUtilMethods.RelativeDate(toDate, 1)); lvePrevToDate = sysUtilMethods.dateTime(sysUtilMethods.RelativeDate(toDate, 1));
...@@ -3199,7 +3199,8 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal, ...@@ -3199,7 +3199,8 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
//$$$$$$$$$$$$$$$$$$$$$$$$$ Start $$$$$$$$$$$$$$$$$$$$$$// //$$$$$$$$$$$$$$$$$$$$$$$$$ Start $$$$$$$$$$$$$$$$$$$$$$//
boolean allowUpdateNegLeave = (boolean) this.lveRuleList.get("allow_update_negative_leave"); //boolean allowUpdateNegLeave = (boolean) this.lveRuleList.get("allow_update_negative_leave");
boolean allowUpdateNegLeave = (Boolean)this.lveRuleList.get("allow_update_negative_leave");
/*if istr_lve_rule_list.allow_update_negative_leave = true and museflag = "C" then /*if istr_lve_rule_list.allow_update_negative_leave = true and museflag = "C" then
*/ */
...@@ -3358,7 +3359,8 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal, ...@@ -3358,7 +3359,8 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
else if(nextBal > 0) else if(nextBal > 0)
{ {
allowUpdateNegLeave = (boolean) this.lveRuleList.get("allow_update_negative_leave"); //allowUpdateNegLeave = (boolean) this.lveRuleList.get("allow_update_negative_leave");
allowUpdateNegLeave = (Boolean)this.lveRuleList.get("allow_update_negative_leave");
//if istr_lve_rule_list.allow_update_negative_leave = true and museFlag = "C" then //if istr_lve_rule_list.allow_update_negative_leave = true and museFlag = "C" then
if(allowUpdateNegLeave == true && museFlag.equalsIgnoreCase("C")) if(allowUpdateNegLeave == true && museFlag.equalsIgnoreCase("C"))
{ {
...@@ -4394,7 +4396,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal, ...@@ -4394,7 +4396,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
fe.printStackTrace(); fe.printStackTrace();
} }
} }
if (isError) if (!isError)
{ {
errCode = ""; errCode = "";
} }
......
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