From c017b8a2284b1935160aacb1f3fea59b4c7dbfab Mon Sep 17 00:00:00 2001 From: Rob Hofman Date: Thu, 9 Jan 2025 19:49:49 +0100 Subject: [PATCH] Add default undefined option for payeename in KBC integration (#533) --- src/app-gocardless/banks/kbc_kredbebb.js | 3 ++- upcoming-release-notes/533.md | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/533.md diff --git a/src/app-gocardless/banks/kbc_kredbebb.js b/src/app-gocardless/banks/kbc_kredbebb.js index f2c7a725e..739734073 100644 --- a/src/app-gocardless/banks/kbc_kredbebb.js +++ b/src/app-gocardless/banks/kbc_kredbebb.js @@ -17,7 +17,8 @@ export default { ...transaction, payeeName: transaction.debtorName || - transaction.remittanceInformationUnstructured, + transaction.remittanceInformationUnstructured || + 'undefined', date: transaction.bookingDate || transaction.valueDate, }; } diff --git a/upcoming-release-notes/533.md b/upcoming-release-notes/533.md new file mode 100644 index 000000000..93f58649d --- /dev/null +++ b/upcoming-release-notes/533.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [robxgd] +--- + +Fixed issue when no payeename is given for KBC transaction \ No newline at end of file