Skip to content
Snippets Groups Projects
Unverified Commit 501c6a02 authored by Wizmaster's avatar Wizmaster Committed by GitHub
Browse files

Import locked transactions from nYNAB (#2474)

* Import locked transactions from nYNAB

* Import locked transactions from nYNAB
- Adding PR release note
parent 6281cc75
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
......@@ -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:
......
---
category: Bugfix
authors: [Wizmaster]
---
Import reconciled transactions from nYNAB
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment