From 16b51711f5874352cb2ed1b55526dfeb1737aa03 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 10 Apr 2021 18:21:52 +0200 Subject: [PATCH] Actual debit indicator --- resources/views/v1/list/accounts.twig | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/resources/views/v1/list/accounts.twig b/resources/views/v1/list/accounts.twig index 9e679d9e5f..8c487ff83d 100644 --- a/resources/views/v1/list/accounts.twig +++ b/resources/views/v1/list/accounts.twig @@ -14,7 +14,10 @@ {{ trans('list.interest') }} ({{ trans('list.interest_period') }}) {% endif %} {{ trans('form.account_number') }} - {{ trans('list.currentBalance') }} + {{ trans('list.currentBalance') }} + {% if objectType == 'liabilities' %} + Left to pay off + {% endif %} {{ trans('list.active') }} {# hide last activity to make room for other stuff #} {% if objectType != 'liabilities' %} @@ -50,10 +53,8 @@ {% endif %} {% if objectType == 'liabilities' %} - {{ account.accountTypeString }} - - {{ account.interest }}% ({{ account.interestPeriod|lower }}) - + {{ account.accountTypeString }} + {{ account.interest }}% ({{ account.interestPeriod|lower }}) {% endif %} {{ account.iban }}{% if account.iban == '' %}{{ accountGetMetaField(account, 'account_number') }}{% endif %} @@ -61,6 +62,11 @@ {{ formatAmountByAccount(account, account.endBalance) }} + {% if objectType == 'liabilities' %} + + Test + + {% endif %} {% if account.active %}