mirror of
https://github.com/dancojocaru2000/foxbank.git
synced 2025-02-23 08:09:35 +02:00
Added transaction description for received
This commit is contained in:
parent
5313b4cecd
commit
bb8c613399
1 changed files with 5 additions and 1 deletions
|
@ -87,7 +87,11 @@ class TransactionsList(MethodView):
|
||||||
transaction_type='receive_transfer',
|
transaction_type='receive_transfer',
|
||||||
status='processed',
|
status='processed',
|
||||||
other_party={'iban': account.iban,},
|
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)
|
insert_transaction(acc.id, reverse_transaction)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Reference in a new issue