Fixed removing white spaces from entered IBANs and BICs
This commit is contained in:
parent
3b41f41cf3
commit
b556205134
|
@ -29,8 +29,8 @@ open class SepaEinzelueberweisung(
|
|||
"DebitorIban" to account.iban!!,
|
||||
"DebitorBic" to debitorBic,
|
||||
"CreditorName" to messageCreator.convertToAllowedCharacters(data.creditorName),
|
||||
"CreditorIban" to data.creditorIban,
|
||||
"CreditorBic" to data.creditorBic,
|
||||
"CreditorIban" to data.creditorIban.replace(" ", ""),
|
||||
"CreditorBic" to data.creditorBic.replace(" ", ""),
|
||||
"Amount" to data.amount.toString(), // TODO: check if ',' or '.' should be used as decimal separator
|
||||
"Usage" to messageCreator.convertToAllowedCharacters(data.usage),
|
||||
"RequestedExecutionDate" to RequestedExecutionDateValueForNotScheduledTransfers
|
||||
|
|
|
@ -218,8 +218,8 @@ open class TransferMoneyDialog : DialogFragment() {
|
|||
getEnteredAmount()?.let { amount -> // should only come at this stage when a valid amount has been entered
|
||||
val data = TransferMoneyData(
|
||||
edtxtRemitteeName.text.toString(),
|
||||
edtxtRemitteeIban.text.toString(),
|
||||
edtxtRemitteeBic.text.toString(),
|
||||
edtxtRemitteeIban.text.toString().replace(" ", ""),
|
||||
edtxtRemitteeBic.text.toString().replace(" ", ""),
|
||||
amount,
|
||||
edtxtUsage.text.toString()
|
||||
)
|
||||
|
|
|
@ -246,8 +246,8 @@ open class TransferMoneyDialog @JvmOverloads constructor(
|
|||
|
||||
val data = TransferMoneyData(
|
||||
remitteeName.value,
|
||||
remitteeIban.value,
|
||||
remitteeBic.value,
|
||||
remitteeIban.value.replace(" ", ""),
|
||||
remitteeBic.value.replace(" ", ""),
|
||||
amount.value.toBigDecimal(),
|
||||
usage.value
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue