Correct payee field: creditor instead of issuer
This commit is contained in:
parent
7ce1a81caa
commit
caeb314e12
1 changed files with 6 additions and 5 deletions
3
tab
3
tab
|
@ -46,6 +46,7 @@ def balance_assertion(balance):
|
|||
def formatted_transaction(transaction, me, balance_after=None):
|
||||
issuer = transaction["issuer"]
|
||||
debtor = transaction["debtor"]
|
||||
creditor = transaction["creditor"]
|
||||
date = transaction["time"][:10]
|
||||
amount = formatted_price(transaction["amount"])
|
||||
|
||||
|
@ -65,7 +66,7 @@ def formatted_transaction(transaction, me, balance_after=None):
|
|||
message = f"Zeus WPI | {message}"
|
||||
else:
|
||||
to_account = FOOD_ACCOUNT
|
||||
message = f"{issuer} | {message}"
|
||||
message = f"{creditor} | {message}"
|
||||
|
||||
to_line = f"{to_account} {amount}"
|
||||
from_line = f"tab {assertion}"
|
||||
|
|
Loading…
Reference in a new issue