From 39ca0a89242a3b86b3231213bff1fd98f3a81657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 3 Jun 2016 19:27:36 +0300 Subject: [PATCH] Handle paypal entries in billing history page --- templates/payments/billing.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/payments/billing.html b/templates/payments/billing.html index 777a74ce..b8a4212f 100644 --- a/templates/payments/billing.html +++ b/templates/payments/billing.html @@ -19,7 +19,13 @@ {{ tx.created_at }} + {% 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.currency_iso_code == "USD" %}