Skip to content

A local-first personal finance app

Add backup date field for GoCardless transactions with bank BNP_BE_GEBABEBB (#345)

Matt Fiddamanc0b21a9f7e0a
diff --git a/src/app-gocardless/banks/bnp-be-gebabebb.js b/src/app-gocardless/banks/bnp-be-gebabebb.js
index 6e82458deb..d95ebf0bbf 100644
--- a/src/app-gocardless/banks/bnp-be-gebabebb.js
+++ b/src/app-gocardless/banks/bnp-be-gebabebb.js
@@ -73,7 +73,7 @@ export default {
return {
...transaction,
- date: transaction.valueDate,
+ date: transaction.valueDate || transaction.bookingDate,
};
},
diff --git a/upcoming-release-notes/345.md b/upcoming-release-notes/345.md
new file mode 100644
index 0000000000..28aa955003
--- /dev/null
+++ b/upcoming-release-notes/345.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [matt-fidd]
+---
+
+Add backup date field for GoCardless transactions with bank BNP_BE_GEBABEBB