1
0
Fork 0
mirror of https://github.com/dancojocaru2000/foxbank.git synced 2025-02-22 23:39:36 +02:00

Added transaction description for received

This commit is contained in:
Kenneth Bruen 2022-01-03 03:19:23 +02:00
parent 5313b4cecd
commit bb8c613399
Signed by: kbruen
GPG key ID: C1980A470C3EE5B1

View file

@ -87,7 +87,11 @@ class TransactionsList(MethodView):
transaction_type='receive_transfer',
status='processed',
other_party={'iban': account.iban,},
extra={'currency': account.currency, 'amount': -amount,},
extra={
'currency': account.currency,
'amount': -amount,
'description': description,
},
)
insert_transaction(acc.id, reverse_transaction)
break