{% if transactions %} {% for tx in transactions %} {% endfor%}
Date Payment Method Amount Type Status
{{ tx.created_at|date:"N j, Y" }} {% if tx.payment_instrument_type == "paypal_account" %} Paypal from {{ tx.paypal.payer_email }} {% endif %} {% if tx.payment_instrument_type == "credit_card" %} {{ tx.credit_card.card_type }} ending in {{ tx.credit_card.last_4 }} {% endif %} {% if tx.type == "credit" %} -{{ tx.amount }} {{ tx.currency_iso_code }} {% else %} {{ tx.amount }} {{ tx.currency_iso_code }} {% endif %} {{ tx.type|capfirst }} {{ tx.status }}
{% else %}

No past transactions to display here

{% endif %}