|
@ -65,6 +65,8 @@ public class SendMoneyV2TransactionCompleteActivity extends BaseActivity impleme |
|
|
TextView tvServiceFee; |
|
|
TextView tvServiceFee; |
|
|
@BindView(R.id.tv_payout_mode) |
|
|
@BindView(R.id.tv_payout_mode) |
|
|
TextView tvPayoutMode; |
|
|
TextView tvPayoutMode; |
|
|
|
|
|
@BindView(R.id.exrate_fee) |
|
|
|
|
|
TextView exrate_fee; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@BindView(R.id.btn_submit) |
|
|
@BindView(R.id.btn_submit) |
|
@ -107,7 +109,7 @@ public class SendMoneyV2TransactionCompleteActivity extends BaseActivity impleme |
|
|
isRequestedBySendMoney = getIntent().getBooleanExtra(IS_TRANSACTION_DETAIL_REQUEST_FROM_SEND_MONEY_BUNDLE_KEY, false); |
|
|
isRequestedBySendMoney = getIntent().getBooleanExtra(IS_TRANSACTION_DETAIL_REQUEST_FROM_SEND_MONEY_BUNDLE_KEY, false); |
|
|
prepareForm(); |
|
|
prepareForm(); |
|
|
if (!isRequestedBySendMoney) { |
|
|
if (!isRequestedBySendMoney) { |
|
|
controlId= getIntent().getStringExtra(SEND_MONEY_CONTROL_NO_BUNDLE_KEY); |
|
|
|
|
|
|
|
|
controlId = getIntent().getStringExtra(SEND_MONEY_CONTROL_NO_BUNDLE_KEY); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -175,6 +177,9 @@ public class SendMoneyV2TransactionCompleteActivity extends BaseActivity impleme |
|
|
relationTextView.setText(recieptData.getRelWithSender()); |
|
|
relationTextView.setText(recieptData.getRelWithSender()); |
|
|
addressTextView.setText(recieptData.getRAddress()); |
|
|
addressTextView.setText(recieptData.getRAddress()); |
|
|
mobileNumberTextView.setText(recieptData.getRContactNo()); |
|
|
mobileNumberTextView.setText(recieptData.getRContactNo()); |
|
|
|
|
|
if (recieptData.getREmail() == null || recieptData.getREmail().length() < 1) |
|
|
|
|
|
emailTextView.setText("N/A"); |
|
|
|
|
|
else |
|
|
emailTextView.setText(recieptData.getREmail()); |
|
|
emailTextView.setText(recieptData.getREmail()); |
|
|
agentTextView.setText(recieptData.getPAgentBank()); |
|
|
agentTextView.setText(recieptData.getPAgentBank()); |
|
|
tvBranch.setText(recieptData.getPayoutBankBranch()); |
|
|
tvBranch.setText(recieptData.getPayoutBankBranch()); |
|
@ -185,6 +190,7 @@ public class SendMoneyV2TransactionCompleteActivity extends BaseActivity impleme |
|
|
deliveryAddressTextView.setText(recieptData.getRAddress()); |
|
|
deliveryAddressTextView.setText(recieptData.getRAddress()); |
|
|
tvServiceFee.setText(recieptData.getServiceCharge()); |
|
|
tvServiceFee.setText(recieptData.getServiceCharge()); |
|
|
totalAmountTextView.setText(recieptData.getPayOutAmount()); |
|
|
totalAmountTextView.setText(recieptData.getPayOutAmount()); |
|
|
|
|
|
exrate_fee.setText(recieptData.getExRate()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -204,18 +210,18 @@ public class SendMoneyV2TransactionCompleteActivity extends BaseActivity impleme |
|
|
|
|
|
|
|
|
case R.id.btn_cancel: |
|
|
case R.id.btn_cancel: |
|
|
Intent b = new Intent(this, SupportActivityV2.class); |
|
|
Intent b = new Intent(this, SupportActivityV2.class); |
|
|
b.putExtra(SupportActivityV2.REQUESTED_BUNDLE_KEY,SupportActivityV2.REQUESTED_FOR_CANCEL); |
|
|
|
|
|
b.putExtra(SupportActivityV2.REQUESTED_CONTROL_NO_BUNDLE_KEY,controlId); |
|
|
|
|
|
b.putExtra(SupportActivityV2.REQUESTED_TRANSACTION_ID_BUNDLE_KEY,transactionId); |
|
|
|
|
|
|
|
|
b.putExtra(SupportActivityV2.REQUESTED_BUNDLE_KEY, SupportActivityV2.REQUESTED_FOR_CANCEL); |
|
|
|
|
|
b.putExtra(SupportActivityV2.REQUESTED_CONTROL_NO_BUNDLE_KEY, controlId); |
|
|
|
|
|
b.putExtra(SupportActivityV2.REQUESTED_TRANSACTION_ID_BUNDLE_KEY, transactionId); |
|
|
startActivity(b); |
|
|
startActivity(b); |
|
|
finish(); |
|
|
finish(); |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
case R.id.btn_change: |
|
|
case R.id.btn_change: |
|
|
Intent c= new Intent(this, SupportActivityV2.class); |
|
|
|
|
|
c.putExtra(SupportActivityV2.REQUESTED_BUNDLE_KEY,SupportActivityV2.REQUESTED_FOR_AMMENDMENT); |
|
|
|
|
|
c.putExtra(SupportActivityV2.REQUESTED_CONTROL_NO_BUNDLE_KEY,controlId); |
|
|
|
|
|
c.putExtra(SupportActivityV2.REQUESTED_TRANSACTION_ID_BUNDLE_KEY,transactionId); |
|
|
|
|
|
|
|
|
Intent c = new Intent(this, SupportActivityV2.class); |
|
|
|
|
|
c.putExtra(SupportActivityV2.REQUESTED_BUNDLE_KEY, SupportActivityV2.REQUESTED_FOR_AMMENDMENT); |
|
|
|
|
|
c.putExtra(SupportActivityV2.REQUESTED_CONTROL_NO_BUNDLE_KEY, controlId); |
|
|
|
|
|
c.putExtra(SupportActivityV2.REQUESTED_TRANSACTION_ID_BUNDLE_KEY, transactionId); |
|
|
startActivity(c); |
|
|
startActivity(c); |
|
|
finish(); |
|
|
finish(); |
|
|
break; |
|
|
break; |
|
|