NTP-60797 | Added a empty check for transactionCreatedAt in crm pathUrl (#16632)

This commit is contained in:
shankar yadav
2025-06-18 14:31:16 +05:30
committed by GitHub
parent f6040f33c7
commit 7bc82213a9

View File

@@ -229,8 +229,12 @@ constructor(
webViewIntent.orderId?.let {
pathUrl.append(AMPERSAND).append(ORDER_ID).append(EQUALS).append(it)
}
webViewIntent.transactionCreatedAt?.let {
pathUrl.append(AMPERSAND).append(TRANSACTION_CREATED_AT).append(EQUALS).append(it)
if (webViewIntent.transactionCreatedAt.isNullOrBlank().not()) {
pathUrl
.append(AMPERSAND)
.append(TRANSACTION_CREATED_AT)
.append(EQUALS)
.append(webViewIntent.transactionCreatedAt.orEmpty())
}
webViewIntent.dataSource?.let {