NTP-45282 | Sidharth Bamba | fix for upi lite closure case (#15298)
This commit is contained in:
@@ -253,9 +253,16 @@ fun shareReceipt(
|
||||
|
||||
fun LayoutShareTransactionDetailsBinding.setPayeeBankNameAndLogo() {
|
||||
payeeBankView.apply {
|
||||
val isDebitedOrUpiLite =
|
||||
shareReceiptEntity.isDebited || shareReceiptEntity.isSendMoneyViaUPILite
|
||||
val isNotMandateOrSelfPayOrClosure =
|
||||
!shareReceiptEntity.isMandateTransaction &&
|
||||
!shareReceiptEntity.isSelfPayTransaction &&
|
||||
!shareReceiptEntity.isUpiLiteClosureTransaction
|
||||
|
||||
if (
|
||||
(shareReceiptEntity.isDebited || shareReceiptEntity.isSendMoneyViaUPILite) &&
|
||||
!shareReceiptEntity.isMandateTransaction &&
|
||||
isDebitedOrUpiLite &&
|
||||
isNotMandateOrSelfPayOrClosure &&
|
||||
shareReceiptEntity.payeeBankNameFormatted.isNotNullAndNotEmpty()
|
||||
) {
|
||||
payeeBankIcon.visibility = VISIBLE
|
||||
|
||||
Reference in New Issue
Block a user