TP-68598 | Removed bank account tag if UPI Lite tag is getting added (#11071)
This commit is contained in:
@@ -356,17 +356,17 @@ fun TransactionDetailEntity.getPaymentModeTagsWithSeparator(): String {
|
||||
eligibleTags.add(TransactionPaymentModeTags.CREDIT_LINE.value)
|
||||
}
|
||||
else -> {
|
||||
eligibleTags.add(TransactionPaymentModeTags.BANK_ACCOUNT.value)
|
||||
if (
|
||||
metaData.purposeCode == NAVI_PAY_UPI_LITE_SEND_MONEY_PURPOSE_CODE &&
|
||||
metaData.role == TransactionRole.PAYER.name
|
||||
) { // purpose code 44 comes in send & receive money, so checking role as well
|
||||
eligibleTags.add(TransactionPaymentModeTags.UPI_LITE.value)
|
||||
} else {
|
||||
eligibleTags.add(TransactionPaymentModeTags.BANK_ACCOUNT.value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
metaData.purposeCode == NAVI_PAY_UPI_LITE_SEND_MONEY_PURPOSE_CODE &&
|
||||
metaData.role == TransactionRole.PAYER.name
|
||||
) { // purpose code 44 comes in send & receive money, so checking role as well
|
||||
eligibleTags.add(TransactionPaymentModeTags.UPI_LITE.value)
|
||||
}
|
||||
|
||||
if (metaData.instrumentType == TransactionInstrumentType.MANDATE.name) {
|
||||
eligibleTags.add(TransactionPaymentModeTags.MANDATE.value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user