Commit 8caffcf9 authored by kshinde's avatar kshinde

Bug fix


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@181768 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e4fb9dc4
...@@ -1955,7 +1955,7 @@ conn = getConnection(); ...@@ -1955,7 +1955,7 @@ conn = getConnection();
if("C".equalsIgnoreCase(mischdrMap.get("pay_mode").toString())) if("C".equalsIgnoreCase(mischdrMap.get("pay_mode").toString()))
{ {
VouchPayAct vouchpay=new VouchPayAct(); VouchPayAct vouchpay=new VouchPayAct();
errString=vouchpay.actionPay(tranId, xtraParams,"M-VOUC",conn); errString=vouchpay.actionPay(tranId, xtraParams,"M-VOUC",true,conn);
System.out.println("Payment Generation retString"+errString); System.out.println("Payment Generation retString"+errString);
if( errString.indexOf("VOUCHSUCC") != -1 ) if( errString.indexOf("VOUCHSUCC") != -1 )
{ {
......
...@@ -73,7 +73,7 @@ public class MiscVoucherAct extends ActionHandlerEJB implements MiscVoucherActLo ...@@ -73,7 +73,7 @@ public class MiscVoucherAct extends ActionHandlerEJB implements MiscVoucherActLo
{ {
conn=getConnection(); conn=getConnection();
VouchPayAct vouchpay=new VouchPayAct(); VouchPayAct vouchpay=new VouchPayAct();
resString=vouchpay.actionPay(tranId, xtraParams, "M-VOUC",conn); resString=vouchpay.actionPay(tranId, xtraParams, "M-VOUC",false,conn);
} }
catch(Exception e) catch(Exception e)
......
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