From f4786c3ec8489f72367fa2ee3ab42c33436fa9fe Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 19 Apr 2017 16:32:12 +0200 Subject: [PATCH] Fix balance view [skip ci] --- resources/views/reports/partials/balance.twig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/views/reports/partials/balance.twig b/resources/views/reports/partials/balance.twig index c2c6e1a323..77c795d351 100644 --- a/resources/views/reports/partials/balance.twig +++ b/resources/views/reports/partials/balance.twig @@ -29,8 +29,8 @@ {% endif %} - {% if(balanceLine.getBudget.amount) %} - {{ balanceLine.getBudget.amount|formatAmount }} + {% if(balanceLine.getBudgetLimit.amount) %} + {{ balanceLine.getBudgetLimit.amount|formatAmount }} {% else %} {{ '0'|formatAmount }} {% endif %} @@ -46,7 +46,6 @@ - {% endif %} {% if balanceEntry.getLeft != 0 %} {{ (balanceEntry.getLeft)|formatAmountPlain }}