Browse Source

Added transaction description for received

pull/7/head
Kenneth Bruen 3 years ago
parent
commit
bb8c613399
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 6
      server/foxbank_server/apis/transactions.py

6
server/foxbank_server/apis/transactions.py

@ -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

Loading…
Cancel
Save