[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: actually keep the right field
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: actually keep the right field |
Date: |
Tue, 01 Sep 2020 19:40:11 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new d00b63f actually keep the right field
d00b63f is described below
commit d00b63fef7b1d1e95c988bd265a77c5321d31662
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Sep 1 23:10:04 2020 +0530
actually keep the right field
---
talerbank/app/views.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index e94288a..fbce899 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -1295,6 +1295,8 @@ def bank_accounts_api_balance(request, user_account,
acct_id):
dict(
# The balance field is kept as long as the cashier still uses it
balance=acct.balance.amount.stringify(),
+ # This field should be kept, naming similar to ISO20022
+ amount=acct.balance.amount.stringify(),
credit_debit_indicator=("credit" if acct.balance.is_positive else
"debit"),
)
)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: actually keep the right field,
gnunet <=