diff --git a/resources/views/popup/list/journals.twig b/resources/views/popup/list/journals.twig
index 6f042ddcce..64d425c32a 100644
--- a/resources/views/popup/list/journals.twig
+++ b/resources/views/popup/list/journals.twig
@@ -5,15 +5,19 @@
{{ trans('list.description') }} |
{{ trans('list.amount') }} |
{{ trans('list.date') }} |
- {{ trans('list.from') }} |
+ {% if not hideSource %}
+ {{ trans('list.from') }} |
+ {% endif %}
+ {% if not hideDestination %}
{{ trans('list.to') }} |
+ {% endif %}
- {% if not hideBudgets %}
+ {% if not hideBudget %}
|
{% endif %}
- {% if not hideCategories %}
+ {% if not hideCategory %}
|
{% endif %}
@@ -33,6 +37,7 @@
{{ journal.date.formatLocalized(monthAndDayFormat) }}
|
+ {% if not hideSource %}
{% if journal.source_account_type == 'Cash account' %}
(cash)
@@ -40,6 +45,8 @@
{{ journal.source_account_name }}
{% endif %}
|
+ {% endif %}
+ {% if not hideDestination %}
{% if journal.destination_account_type == 'Cash account' %}
(cash)
@@ -47,9 +54,10 @@
{{ journal.destination_account_name }}
{% endif %}
|
+ {% endif %}
- {% if not hideBudgets %}
+ {% if not hideBudget %}
{% if journal.budgets[0] %}
{{ journal.budgets[0].name }}
@@ -58,7 +66,7 @@
{% endif %}
- {% if not hideCategories %}
+ {% if not hideCategory %}
|
{% if journal.categories[0] %}
{{ journal.categories[0].name }}
diff --git a/resources/views/popup/report/balance-amount.twig b/resources/views/popup/report/balance-amount.twig
index a1a645b41d..ad6c20490a 100644
--- a/resources/views/popup/report/balance-amount.twig
+++ b/resources/views/popup/report/balance-amount.twig
@@ -6,6 +6,8 @@
{{ 'balance_amount'|_ }}
+ {% set hideSource = true %}
+ {% set hideBudget = true %}
{% include 'popup/list/journals.twig' %}
+ {% set hideBudget = true %}
{% include 'popup/list/journals.twig' %}
+ {% set hideCategory = true %}
{% include 'popup/list/journals.twig' %}
+ {% set hideDestination = true %}
{% include 'popup/list/journals.twig' %}
+ {% set hideBudget = true %}
+ {% set hideSource = true %}
{% include 'popup/list/journals.twig' %}
|