From 3fb13b870f7c7e4359117b1201ef6facb2607620 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 5 Sep 2019 18:58:01 +0200 Subject: [PATCH] Fix #2513 --- resources/views/v1/reports/partials/journals-audit.twig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/v1/reports/partials/journals-audit.twig b/resources/views/v1/reports/partials/journals-audit.twig index b864699fe5..dff077d4c4 100644 --- a/resources/views/v1/reports/partials/journals-audit.twig +++ b/resources/views/v1/reports/partials/journals-audit.twig @@ -82,8 +82,10 @@ {% if account.id == journal.destination_account_id and journal.transaction_type_type == 'Opening balance' %} {{ formatAmountBySymbol(journal.amount*-1, journal.currency_symbol, journal.currency_decimal_places) }} - {% else %} - {{ formatAmountBySymbol(journal.amount, journal.currency_symbol, journal.currency_decimal_places) }} + {% elseif account.id == journal.destination_account_id and journal.transaction_type_type == 'Deposit' %} + {{ formatAmountBySymbol(journal.amount*-1, journal.currency_symbol, journal.currency_decimal_places) }} + {% else %} + {{ formatAmountBySymbol(journal.amount, journal.currency_symbol, journal.currency_decimal_places) }} {% endif %}