From 1966d87ce6daa3978fd8f5f45a485f677ff4b5a9 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 2 Dec 2015 08:33:22 +0100 Subject: [PATCH] Small formatting fixes in reports. --- resources/twig/partials/reports/budgets.twig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/twig/partials/reports/budgets.twig b/resources/twig/partials/reports/budgets.twig index 3972b4dffe..3fddc8add3 100644 --- a/resources/twig/partials/reports/budgets.twig +++ b/resources/twig/partials/reports/budgets.twig @@ -39,13 +39,15 @@ {% if budgetLine.getSpent != 0 %} + {{ budgetLine.getSpent|formatAmountPlain }} + {% endif %} + + {% if budgetLine.getSpent == 0 %} {{ budgetLine.getSpent|formatAmount }} {% endif %} - {% if budgetLine.getLeft != 0 %} - {{ budgetLine.getLeft|formatAmount }} - {% endif %} + {{ budgetLine.getLeft|formatAmount }} {% if budgetLine.getOverspent != 0 %}