Commit d81e54ca authored by cpatil's avatar cpatil

add validation for no_days


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100057 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 26cbe59b
......@@ -406,7 +406,8 @@ String siteCodlogin="";
noDays=Integer.parseInt(noOfDays);
System.out.println("No of Days>>>"+noDays);
}
if(noDays <= 0)
//if(noDays <= 0) //comment by cpatil... for validate only upto two digit
if(noDays <= 0 || noDays > 99)
{
errCode = "VTBGVAL";
errList.add(errCode);
......
......@@ -355,7 +355,8 @@ String bankNameIss="",bankAdd="";
noDays=Integer.parseInt(noOfDays);
System.out.println("No of Days>>>"+noDays);
}
if(noDays <= 0)
//if(noDays <= 0) //comment by cpatil... for validate only upto two digit
if(noDays <= 0 || noDays > 99)
{
errCode = "VTBGVAL";
errList.add(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