|
@@ -203,7 +203,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
invitePaymentCostList = costResponse.data.modulePromptInfos[0].data
|
|
|
|
|
|
currencyAbbr.text = invitePaymentCostCurrency
|
|
|
- exchangeRate.text = invitePaymentCostExchangeRate.toString()
|
|
|
+ exchangeRate.text = "$invitePaymentCostExchangeRate"
|
|
|
|
|
|
inviteOfficialCostTable.setData(invitePaymentCostList)
|
|
|
|
|
@@ -221,7 +221,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
})
|
|
|
} else {
|
|
|
currencyAbbr.text = invitePaymentCostCurrency
|
|
|
- exchangeRate.text = invitePaymentCostExchangeRate.toString()
|
|
|
+ exchangeRate.text = "$invitePaymentCostExchangeRate"
|
|
|
|
|
|
inviteOfficialCostTable.setData(invitePaymentCostList)
|
|
|
}
|
|
@@ -1069,7 +1069,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
val decimalFormat = DecimalFormat("#.##")
|
|
|
totalPayment = decimalFormat.format(totalPayment).toDouble()
|
|
|
|
|
|
- binding.paymentSum.text = totalPayment.toString()
|
|
|
+ binding.paymentSum.text = "$totalPayment"
|
|
|
}
|
|
|
|
|
|
private fun getInviteOfficialDetail() {
|
|
@@ -1113,7 +1113,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
binding.otherInfo.setText(otherInformation)
|
|
|
|
|
|
invitePayment = inviteCost
|
|
|
- binding.invitePayment.setText(invitePayment.toString())
|
|
|
+ binding.invitePayment.setText("$invitePayment")
|
|
|
inviteCurrencyId = inviteCurrency
|
|
|
|
|
|
run {
|
|
@@ -1127,7 +1127,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
}
|
|
|
|
|
|
expressPayment = sendCost
|
|
|
- binding.expressFee.setText(expressPayment.toString())
|
|
|
+ binding.expressFee.setText("$expressPayment")
|
|
|
expressCurrencyId = sendCurrency
|
|
|
|
|
|
run {
|
|
@@ -1141,7 +1141,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
}
|
|
|
|
|
|
activityPayment = eventsCost
|
|
|
- binding.officialActivityPayment.setText(activityPayment.toString())
|
|
|
+ binding.officialActivityPayment.setText("$activityPayment")
|
|
|
activityCurrencyId = eventsCurrency
|
|
|
|
|
|
run {
|
|
@@ -1155,7 +1155,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
}
|
|
|
|
|
|
translatePayment = translateCost
|
|
|
- binding.officialTranslatePayment.setText(translatePayment.toString())
|
|
|
+ binding.officialTranslatePayment.setText("$translatePayment")
|
|
|
translateCurrencyId = translateCurrency
|
|
|
|
|
|
run {
|
|
@@ -1169,7 +1169,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
}
|
|
|
|
|
|
totalPayment = payMoney
|
|
|
- binding.paymentSum.text = totalPayment.toString()
|
|
|
+ binding.paymentSum.text = "$totalPayment"
|
|
|
totalCurrencyId = paymentCurrency
|
|
|
|
|
|
run {
|
|
@@ -1193,7 +1193,7 @@ class AddInvitePaymentActivity : BaseActivity<ActivityAddInvitePaymentBinding>()
|
|
|
binding.consumeWay.setText(consumptionPatterns)
|
|
|
binding.consumeDate.text = consumptionDate
|
|
|
|
|
|
- binding.paymentSum.text = payMoney.toString()
|
|
|
+ binding.paymentSum.text = "$payMoney"
|
|
|
totalCurrencyId
|
|
|
|
|
|
when (paymentWayId) {
|