{% load i18n %} {% load currency_conversions %} {% if wallet.has_history %} {% for addr in wallet.addresses.all %} {% if addr.received %} {% endif %} {% endfor %} {% for t in wallet.received_transactions.all %} {% endfor %} {% for t in wallet.sent_transactions.all %} {% if t.to_wallet %} {% else %} {% if t.to_bitcoinaddress %} {% else %} {% endif %} {% endif %} {% endfor %}
{% trans "Date" %} {% trans "Type" %} {% trans "To/From" %} {% trans "Amount" %} {% trans "Description" %}
{{ addr.created_at }} {% trans "Credit" %} {{ addr.address|show_addr:'short'|safe}} +{{ addr.received }} {{ t.description }}
{{ t.created_at }} {% trans "Credit" %} {{ t.from_wallet.label }} +{{ t.amount }} {{ t.description }}
{{ t.created_at }} {% trans "Debit" %}{{ t.to_wallet.label }} -{{ t.amount }} {{ t.description }}{{ t.to_bitcoinaddress|show_addr:'short'|safe}} -{{ t.amount }} {{ t.description }}{% trans "The bitcoin network" %} -{{ t.amount }} {% trans "Fee paid directly to the bitcoin network" %}
{% endif %}