From 8044d8955740838f523f65d4eac3209a81a8834d Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 2 Aug 2015 07:08:47 +0200 Subject: [PATCH] Display correct amount [skip ci] --- resources/twig/partials/reports/categories.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/twig/partials/reports/categories.twig b/resources/twig/partials/reports/categories.twig index 66b7491081..88aee1a0b9 100644 --- a/resources/twig/partials/reports/categories.twig +++ b/resources/twig/partials/reports/categories.twig @@ -16,14 +16,14 @@ {{ cat.name }} - {{ (cat.spent)|formatAmountPlain }} + {{ (cat.spent * -1)|formatAmountPlain }} {% endfor %} {{ 'sum'|_ }} - {{ categories.getTotal|formatAmountPlain }} + {{ (categories.getTotal * -1)|formatAmountPlain }}