Commit ad24aa23 authored by msalla's avatar msalla

Gimatex: Export bank receipt

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204885 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 63ffd250
......@@ -1509,16 +1509,21 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo
hcurrCode = (String)RcpHdrMap.get("curr_code");
//hexchRate = (Double)RcpHdrMap.get("exch_rate");
totEpc = totEpc + amount;
if(!currCode.equalsIgnoreCase(hcurrCode))
// if(!currCode.equalsIgnoreCase(hcurrCode)) //commented by monika on 8 august 2019
if(!currCode.trim().equalsIgnoreCase(hcurrCode.trim()))//added by monika to trim 8 august 2019
{
isEpcCurrSame = false;
totEpcBc = totEpcBc + (exchRate * amount);
}
else
{
isEpcCurrSame = true;//added by monika on 8 august 2019 to set isEpcCurrSame to true
totEpcBc = totEpcBc + (hexchRate * amount);
}
//added to by monika
System.out.println("epccurrsame value:::"+isEpcCurrSame);
if(rcpClubPost.equals("Y"))
{
......@@ -2075,6 +2080,9 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo
taxAmt=((double) Double.parseDouble( "" + RcpHdrMap.get("tax_amt")) );
//end
// if EPC adjusted in same currency then
//added by monika 8 aug-2019
System.out.println("before amount added with efund +++"+chq);
if(isEpcCurrSame == true)
{
chq = chq + ((double) Double.parseDouble( "" + RcpHdrMap.get("efundadj_amt"))) ;
......
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