From 25d3a115e06d43658a23df5e3e52d1f5f4176f44 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 6 Apr 2016 20:59:09 +0200 Subject: [PATCH] Amounts better divided. --- resources/views/index.twig | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 %}