summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-08-25 19:41:45 +0200
committerMS <ms@taler.net>2020-08-25 19:41:45 +0200
commit2f970d5f795d08834247691ee163df9438b68c41 (patch)
treeb3fc66563a30904251a93148270cd6bd8ed6e963
parent0573144e04f4527abb1d5f7ca6ed1cc16aeef4df (diff)
downloadbank-2f970d5f795d08834247691ee163df9438b68c41.tar.gz
bank-2f970d5f795d08834247691ee163df9438b68c41.tar.bz2
bank-2f970d5f795d08834247691ee163df9438b68c41.zip
remove (one mention of) signed amount
-rw-r--r--talerbank/app/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 5e3cb49..e94288a 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -1294,8 +1294,7 @@ def bank_accounts_api_balance(request, user_account, acct_id):
return JsonResponse(
dict(
# The balance field is kept as long as the cashier still uses it
- balance=acct.balance.stringify(),
- balance_amount=acct.balance.amount.stringify(),
+ balance=acct.balance.amount.stringify(),
credit_debit_indicator=("credit" if acct.balance.is_positive else "debit"),
)
)