Merge pull request #36666 from batonac/batonac-plaid-fixes
fix: Plaid Integration status and categories
This commit is contained in:
commit
a7f921a557
@ -237,9 +237,10 @@ def new_bank_transaction(transaction):
|
|||||||
deposit = abs(amount)
|
deposit = abs(amount)
|
||||||
withdrawal = 0.0
|
withdrawal = 0.0
|
||||||
|
|
||||||
status = "Pending" if transaction["pending"] == "True" else "Settled"
|
status = "Pending" if transaction["pending"] == True else "Settled"
|
||||||
|
|
||||||
tags = []
|
tags = []
|
||||||
|
if transaction["category"]:
|
||||||
try:
|
try:
|
||||||
tags += transaction["category"]
|
tags += transaction["category"]
|
||||||
tags += [f'Plaid Cat. {transaction["category_id"]}']
|
tags += [f'Plaid Cat. {transaction["category_id"]}']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user