diff --git a/resources/views/index.twig b/resources/views/index.twig index 4808a3a04e..32f87ea291 100644 --- a/resources/views/index.twig +++ b/resources/views/index.twig @@ -151,12 +151,12 @@
- {% if account.percentage <= 50 %} + {% if account.percentage >= 20 %} {{ account.difference|formatAmountPlain }} {% endif %}
- {% if account.percentage > 50 %} + {% if account.percentage < 20 %} {{ account.difference|formatAmountPlain }} {% endif %}
@@ -165,13 +165,12 @@
- {% if account.percentage <= 50 %} - {{ account.difference|formatAmountPlain }} + {% if account.percentage >= 20 %} {{ account.difference|formatAmountPlain }} {% endif %}
- {% if account.percentage > 50 %} + {% if account.percentage < 20 %} {{ account.difference|formatAmountPlain }} {% endif %}
@@ -218,12 +217,12 @@
- {% if account.percentage <= 50 %} + {% if account.percentage >= 20 %} {{ account.piggyBalance|formatAmountPlain }} {{ 'divided'|_ }} {% endif %}
- {% if account.percentage > 50 %} + {% if account.percentage < 20 %} {{ account.difference|formatAmountPlain }} {{ 'toDivide'|_ }} {% endif %}