Formatted code and added text - ending in

This commit is contained in:
PCoder 2017-09-13 00:01:10 +05:30
parent 38a8997e29
commit 8c3544c0a4

View file

@ -75,11 +75,11 @@
<address> <address>
<strong>{% trans "Payment Method:"%}</strong><br> <strong>{% trans "Payment Method:"%}</strong><br>
{% if order %} {% if order %}
{{order.cc_brand}} {% trans "ending in" %} **** {{order.last4}}<br> {{order.cc_brand}} {% trans "ending in" %} **** {{order.last4}}<br>
{{user.email}} {{user.email}}
{% else %} {% else %}
{{cc_brand}} {% trans "ending" %} **** {{cc_last4}}<br> {{cc_brand}} {% trans "ending in" %} **** {{cc_last4}}<br>
{{request.session.user.email}} {{request.session.user.email}}
{% endif %} {% endif %}
</address> </address>
</div> </div>