diff --git a/app/templates/cotton/transaction/item.html b/app/templates/cotton/transaction/item.html index 6b518db4..7c43c2aa 100644 --- a/app/templates/cotton/transaction/item.html +++ b/app/templates/cotton/transaction/item.html @@ -157,6 +157,18 @@ :suffix="transaction.account.currency.suffix" :decimal_places="transaction.account.currency.decimal_places" color="red"> + {% if not dummy %} + {% with exchanged=transaction.exchanged_amount %} + {% if exchanged %} + + {% endif %} + {% endwith %} + {% endif %}
{% if transaction.account.group %}{{ transaction.account.group.name }} • {% endif %}{{ transaction.account.name }}
@@ -167,6 +179,18 @@ :suffix="transfer_to.account.currency.suffix" :decimal_places="transfer_to.account.currency.decimal_places" color="green"> + {% if not dummy %} + {% with exchanged=transfer_to.exchanged_amount %} + {% if exchanged %} + + {% endif %} + {% endwith %} + {% endif %}
{% if transfer_to.account.group %}{{ transfer_to.account.group.name }} • {% endif %}{{ transfer_to.account.name }}
@@ -181,7 +205,7 @@ {% endif %} {# Exchange Rate#} - {% if not dummy %} + {% if not dummy and not is_transfer %} {% with exchanged=transaction.exchanged_amount %} {% if exchanged %}