diff --git a/resources/views/list/groups.twig b/resources/views/list/groups.twig index 650cd85da3..8d2acfc5fd 100644 --- a/resources/views/list/groups.twig +++ b/resources/views/list/groups.twig @@ -52,7 +52,7 @@ - {{ group.title }} @@ -65,7 +65,7 @@ {{ formatAmountBySymbol(sum.amount*-1, sum.currency_symbol, sum.currency_decimal_places, false) }}{% if loop.index != group.sums|length %},{% endif %}X {% else %} - {{ formatAmountBySymbol(sum.amount, sum.currency_symbol, sum.currency_decimal_places) }}{% if loop.index != group.sums|length %},{% endif %} + {{ formatAmountBySymbol(sum.amount, sum.currency_symbol, sum.currency_decimal_places) }}{% if loop.index != group.sums|length %},{% endif %} {% endif %} {% endfor %} @@ -81,12 +81,12 @@ aria-haspopup="true" aria-expanded="false"> {{ 'actions'|_ }} @@ -98,14 +98,17 @@ {% if group.transactions|length == loop.index and group.count > 1 %} {% set style="border-bottom:1px #aaa solid;" %} {% endif %} - + {% if transaction.transaction_type_type == 'Withdrawal' %} - + {% endif %} {% if transaction.transaction_type_type == 'Deposit' %} - + {% endif %} {% if transaction.transaction_type_type == 'Transfer' %} @@ -113,13 +116,16 @@ {% endif %} {% if transaction.transaction_type_type == 'Reconciliation' %} - + {% endif %} {% if transaction.transaction_type_type == 'Opening balance' %} - + {% endif %} {% if transaction.transaction_type_type == 'Liability credit' %} - + {% endif %} @@ -131,7 +137,7 @@ {% endif %} {% if group.count == 1 %} - + {% endif %} {{ transaction.description }} {% if group.count == 1 %} @@ -145,7 +151,7 @@ {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount*-1, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} - {# transfer #} + {# transfer #} {% elseif transaction.transaction_type_type == 'Transfer' %} {{ formatAmountBySymbol(transaction.amount*-1, transaction.currency_symbol, transaction.currency_decimal_places, false) }} @@ -153,7 +159,7 @@ ({{ formatAmountBySymbol(transaction.foreign_amount*-1, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places, false) }}) {% endif %} - {# opening balance #} + {# opening balance #} {% elseif transaction.transaction_type_type == 'Opening balance' %} {% if transaction.source_account_type == 'Initial balance account' %} {{ formatAmountBySymbol(transaction.amount*-1, transaction.currency_symbol, transaction.currency_decimal_places) }} @@ -166,7 +172,7 @@ ({{ formatAmountBySymbol(transaction.foreign_amount, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% endif %} - {# reconciliation #} + {# reconciliation #} {% elseif transaction.transaction_type_type == 'Reconciliation' %} {% if transaction.source_account_type == 'Reconciliation account' %} {{ formatAmountBySymbol(transaction.amount*-1, transaction.currency_symbol, transaction.currency_decimal_places) }} @@ -179,7 +185,7 @@ ({{ formatAmountBySymbol(transaction.foreign_amount, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% endif %} - {# liability credit #} + {# liability credit #} {% elseif transaction.transaction_type_type == 'Liability credit' %} {% if transaction.source_account_type == 'Liability credit' %} {{ formatAmountBySymbol(transaction.amount, transaction.currency_symbol, transaction.currency_decimal_places) }} @@ -209,7 +215,7 @@ {% if 'Cash account' == transaction.source_account_type %} ({{ 'cash'|_ }}) {% else %} - {{ transaction.source_account_name }} {% endif %} @@ -217,14 +223,14 @@ {% if 'Cash account' == transaction.destination_account_type %} ({{ 'cash'|_ }}) {% else %} - {{ transaction.destination_account_name }} {% endif %} {% if showCategory %} {% if transaction.category_id %} - {{ transaction.category_name }} {% endif %} @@ -232,7 +238,7 @@ {% if showBudget %} {% if transaction.budget_id %} - {{ transaction.budget_name }} {% endif %} @@ -245,15 +251,15 @@ aria-haspopup="true" aria-expanded="false"> {{ 'actions'|_ }} @@ -310,5 +316,5 @@