Commit dd48cdbd authored by cpatil's avatar cpatil

change condition ( consumedAmtAnal - budgetAmtAnal ) to (...

change condition    ( consumedAmtAnal -  budgetAmtAnal )        to        ( budgetAmtAnal -  consumedAmtAnal )


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93248 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 12db7517
......@@ -174,7 +174,7 @@ public class MiscVouchChkAmtEJB extends ActionHandlerEJB implements MiscVouchChk
consumedAmtAnal = rs1.getDouble(2);
System.out.println("i:["+i+"]:::budgetAmtAnal::["+budgetAmtAnal+"]:::::consumedAmtAnal::["+consumedAmtAnal+"]:::amount["+amount+"]");
if(( consumedAmtAnal-budgetAmtAnal ) < amount )
if(( budgetAmtAnal - consumedAmtAnal ) < amount )
{
amountFlag = "true";
}
......
......@@ -173,7 +173,7 @@ public class PurVouchChkAmtEJB extends ActionHandlerEJB implements PurVouchChkAm
consumedAmtAnal = rs1.getDouble(2);
System.out.println("i:["+i+"]:::budgetAmtAnal::["+budgetAmtAnal+"]:::::consumedAmtAnal::["+consumedAmtAnal+"]:::vouch_amt["+amount+"]");
if ( ( consumedAmtAnal - budgetAmtAnal ) < amount )
if ( ( budgetAmtAnal - consumedAmtAnal ) < amount )
{
amountFlag = "true";
}
......@@ -182,15 +182,7 @@ public class PurVouchChkAmtEJB extends ActionHandlerEJB implements PurVouchChkAm
rs1 = null;
pStmt1.close();
pStmt1 = null;
//
}
......@@ -198,12 +190,9 @@ public class PurVouchChkAmtEJB extends ActionHandlerEJB implements PurVouchChkAm
rs = null;
pStmt.close();
pStmt = null;
}
}
......
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