mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
Fallback creditorName to remittanceInformationUnstructured in BANKINTER_BKBKESMM (#428)
* fallback creditorName to remittanceInformationUnstructured * Update release-notes
This commit is contained in:
committed by
GitHub
parent
d613a6be6e
commit
3b26aa05b5
@@ -24,13 +24,16 @@ export default {
|
||||
},
|
||||
|
||||
normalizeTransaction(transaction, _booked) {
|
||||
transaction.debtorName = transaction.debtorName?.replaceAll(';', ' ');
|
||||
transaction.creditorName = transaction.creditorName?.replaceAll(';', ' ');
|
||||
transaction.remittanceInformationUnstructured =
|
||||
transaction.remittanceInformationUnstructured
|
||||
.replaceAll(/\/Txt\/(\w\|)?/gi, '')
|
||||
.replaceAll(';', ' ');
|
||||
|
||||
transaction.debtorName = transaction.debtorName?.replaceAll(';', ' ');
|
||||
transaction.creditorName =
|
||||
transaction.creditorName?.replaceAll(';', ' ') ??
|
||||
transaction.remittanceInformationUnstructured;
|
||||
|
||||
return {
|
||||
...transaction,
|
||||
payeeName: formatPayeeName(transaction),
|
||||
|
||||
6
upcoming-release-notes/428.md
Normal file
6
upcoming-release-notes/428.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [hostyn]
|
||||
---
|
||||
|
||||
Fallback creditorName to remittanceInformationUnstructured in BANKINTER_BKBKESMM
|
||||
Reference in New Issue
Block a user