diff --git a/resources/views/transactions/show.twig b/resources/views/transactions/show.twig index db60633c03..4336941245 100644 --- a/resources/views/transactions/show.twig +++ b/resources/views/transactions/show.twig @@ -300,8 +300,10 @@ {% if null != journal.foreign_amount %} - {% if first.transactiontype.type == 'Withdrawal' or first.transactiontype.type == 'Deposit' %} + {% if first.transactiontype.type == 'Withdrawal' %} ({{ formatAmountBySymbol(journal.foreign_amount*-1, journal.foreign_currency_symbol, journal.foreign_currency_decimal_places) }}) + {% elseif first.transactiontype.type == 'Deposit' %} + ({{ formatAmountBySymbol(journal.foreign_amount, journal.foreign_currency_symbol, journal.foreign_currency_decimal_places) }}) {% elseif first.transactiontype.type == 'Transfer' %} ({{ formatAmountBySymbol(journal.foreign_amount, journal.foreign_currency_symbol, journal.foreign_currency_decimal_places, false) }})