From 71d13aec4abd2d2a250aee081e9e9a1911279bbe Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 2 Nov 2024 17:39:22 +0000 Subject: [PATCH] `ING_PL_INGBPLPW` should prefer valueDate over bookingDate --- src/app-gocardless/banks/ing-pl-ingbplpw.js | 2 +- upcoming-release-notes/493.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/493.md diff --git a/src/app-gocardless/banks/ing-pl-ingbplpw.js b/src/app-gocardless/banks/ing-pl-ingbplpw.js index 13928fbe2..05b7b9dde 100644 --- a/src/app-gocardless/banks/ing-pl-ingbplpw.js +++ b/src/app-gocardless/banks/ing-pl-ingbplpw.js @@ -27,7 +27,7 @@ export default { return { ...transaction, payeeName: formatPayeeName(transaction), - date: transaction.bookingDate || transaction.valueDate, + date: transaction.valueDate ?? transaction.bookingDate, }; }, diff --git a/upcoming-release-notes/493.md b/upcoming-release-notes/493.md new file mode 100644 index 000000000..b8767a9a7 --- /dev/null +++ b/upcoming-release-notes/493.md @@ -0,0 +1,6 @@ +--- +category: Enhancements +authors: [matt-fidd] +--- + +GoCardless: `ING_PL_INGBPLPW` should prefer valueDate over bookingDate