Import locked transactions from nYNAB (#2474)

* Import locked transactions from nYNAB

* Import locked transactions from nYNAB
- Adding PR release note
This commit is contained in:
Wizmaster
2024-03-20 16:13:01 +01:00
committed by GitHub
parent 6281cc751e
commit 501c6a02cc
3 changed files with 9 additions and 2 deletions

View File

@@ -1597,7 +1597,7 @@
"date": "2023-08-04",
"amount": 0,
"memo": "getting paid",
"cleared": "cleared",
"cleared": "reconciled",
"approved": true,
"flag_color": null,
"account_id": "bc1d862f-bab0-41c3-bd1e-6cee8c688e32",
@@ -1657,7 +1657,7 @@
"date": "2023-08-04",
"amount": 1000000,
"memo": "",
"cleared": "cleared",
"cleared": "reconciled",
"approved": true,
"flag_color": null,
"account_id": "bc1d862f-bab0-41c3-bd1e-6cee8c688e32",

View File

@@ -181,6 +181,7 @@ async function importTransactions(
amount: amountFromYnab(transaction.amount),
category: entityIdMap.get(transaction.category_id) || null,
cleared: ['cleared', 'reconciled'].includes(transaction.cleared),
reconciled: transaction.cleared === 'reconciled',
notes: transaction.memo || null,
imported_id: transaction.import_id || null,
transfer_id:

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [Wizmaster]
---
Import reconciled transactions from nYNAB