NTP-60797 | Added a empty check for transactionCreatedAt in crm pathUrl (#16632)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user