| {{ groups.links('pagination.bootstrap-4')|raw }} | {% else %}{{ groups.links('pagination.bootstrap-4')|raw }} | {% endif %}
|
||||||||||||||
| {{ trans('list.description') }} | {{ trans('list.amount') }} | {{ trans('list.date') }} | {{ trans('list.source_account') }} | {{ trans('list.destination_account') }} | {% if showCategory %}{{ trans('list.category') }} | {% endif %} {% if showBudget %}{{ trans('list.budget') }} | {% endif %}||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ group.title }} | {% for sum in group.sums %} {% if group.transaction_type == 'Deposit' %} {{ formatAmountBySymbol(sum.amount*-1, sum.currency_symbol, sum.currency_decimal_places) }} {% if convertToNative and 0 != sum.native_amount %} ({{ formatAmountBySymbol(sum.native_amount*-1, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% if loop.index != group.sums|length %},{% endif %} {% elseif group.transaction_type == 'Transfer' %} {{ formatAmountBySymbol(sum.amount*-1, sum.currency_symbol, sum.currency_decimal_places, false) }} {% if convertToNative and 0 != sum.native_amount %} ({{ formatAmountBySymbol(sum.native_amount*-1, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% if loop.index != group.sums|length %},{% endif %} {% else %} {{ formatAmountBySymbol(sum.amount, sum.currency_symbol, sum.currency_decimal_places) }} {% if convertToNative and 0 != sum.native_amount %} ({{ formatAmountBySymbol(sum.native_amount*-1, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% if loop.index != group.sums|length %},{% endif %} {% endif %} {% endfor %} | {% if showCategory or showBudget %}{% else %} | {% endif %} |
|
||||||||||||
| {% if transaction.transaction_type_type == 'Withdrawal' %} {% endif %} {% if transaction.transaction_type_type == 'Deposit' %} {% endif %} {% if transaction.transaction_type_type == 'Transfer' %} {% endif %} {% if transaction.transaction_type_type == 'Reconciliation' %} {% endif %} {% if transaction.transaction_type_type == 'Opening balance' %} {% endif %} {% if transaction.transaction_type_type == 'Liability credit' %} {% endif %} | {% if transaction.reconciled %} {% endif %} {% if transaction.attachments|length > 0 %} {% endif %} {% if group.count == 1 %} {% endif %} {{ transaction.description }} {% if group.count == 1 %} {% endif %} | {# deposit #} {% if transaction.transaction_type_type == 'Deposit' %} {{ formatAmountBySymbol(transaction.amount*-1, transaction.currency_symbol, transaction.currency_decimal_places) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount*-1, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount*-1, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {# transfer #} {% elseif transaction.transaction_type_type == 'Transfer' %} {{ formatAmountBySymbol(transaction.amount*-1, transaction.currency_symbol, transaction.currency_decimal_places, false) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount*-1, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places, false) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount*-1, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {# 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) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount*-1, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount*-1, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% else %} {{ formatAmountBySymbol(transaction.amount, transaction.currency_symbol, transaction.currency_decimal_places) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% endif %} {# 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) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount*-1, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount*-1, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% else %} {{ formatAmountBySymbol(transaction.amount, transaction.currency_symbol, transaction.currency_decimal_places) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% endif %} {# 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) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% else %} {{ formatAmountBySymbol(transaction.amount*-1, transaction.currency_symbol, transaction.currency_decimal_places) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount*-1, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount*-1, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% endif %} {# THE REST #} {% else %} {{ formatAmountBySymbol(transaction.amount, transaction.currency_symbol, transaction.currency_decimal_places) }} {% if null != transaction.foreign_amount %} ({{ formatAmountBySymbol(transaction.foreign_amount, transaction.foreign_currency_symbol, transaction.foreign_currency_decimal_places) }}) {% endif %} {% if convertToNative and 0 != transaction.native_amount %} ({{ formatAmountBySymbol(transaction.native_amount, defaultCurrency.symbol, defaultCurrency.decimal_places) }}) {% endif %} {% endif %} | {{ transaction.date.isoFormat(monthAndDayFormat) }} | {% if 'Cash account' == transaction.source_account_type %} ({{ 'cash'|_ }}) {% else %} {{ transaction.source_account_name }} {% endif %} | {% if 'Cash account' == transaction.destination_account_type %} ({{ 'cash'|_ }}) {% else %} {{ transaction.destination_account_name }} {% endif %} | {% if showCategory %}{% if transaction.category_id %} {{ transaction.category_name }} {% endif %} | {% endif %} {% if showBudget %}{% if transaction.budget_id %} {{ transaction.budget_name }} {% endif %} | {% endif %} {% if group.count == 1 %}
|
{% endif %}
{% if group.count != 1 %}
{% endif %} |
{% if transaction.transaction_type_type != 'Reconciliation' and transaction.transaction_type_type != 'Opening balance' and transaction.transaction_type_type != 'Liability credit' %}
{% endif %}
|
||||||
|
|
||||||||||||||||
| {{ groups.links('pagination.bootstrap-4')|raw }} | {% else %}{{ groups.links('pagination.bootstrap-4')|raw }} | {% endif %}|||||||||||||||