Commit 7099f874 authored by skumbhar's avatar skumbhar

Message for completion date.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98394 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bdd09b69
......@@ -157,7 +157,7 @@ implements PurMilstnValidatorEJBLocal,PurMilstnValidatorEJBRemote {
}
}// end of compl_date
if (childNodeName.equalsIgnoreCase("amount"))
else if (childNodeName.equalsIgnoreCase("amount"))
{
System.out.println("@@@@@@ voucher amount Validate ............");
......@@ -210,8 +210,6 @@ implements PurMilstnValidatorEJBLocal,PurMilstnValidatorEJBRemote {
break;
}
}// end of compl_date
}
break;
}
......@@ -246,6 +244,7 @@ implements PurMilstnValidatorEJBLocal,PurMilstnValidatorEJBRemote {
Date complDate = sdf.parse(compl_date);
Date tranDate = sdf.parse(tran_date);
//Changed Condition
System.out.println("futureDate["+complDate+"].before["+currentDate+"]:::"+complDate.before(currentDate)+":::");
if(complDate.before(tranDate) || complDate.after(currentDate)){
return false;
......
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