Updated Order_detail

Added the tag to load the Card holder name entered from the billing address
This commit is contained in:
Polycarp Okock 2017-07-20 15:00:14 +03:00 committed by GitHub
parent 4c71130e2b
commit 50f7227b10

View file

@ -35,7 +35,7 @@
<address>
<h3><b>{% trans "Billed To:"%}</b></h3>
{% with request.session.billing_address_data as billing_address %}
{{request.session.user.name}}<br> {{billing_address|get_value_from_dict:'street_address'}}, {{billing_address|get_value_from_dict:'postal_code'}}<br>
{{billing_address|get_value_from_dict:'cardholder_name'}}<br> {{billing_address|get_value_from_dict:'street_address'}}, {{billing_address|get_value_from_dict:'postal_code'}}<br>
{{billing_address|get_value_from_dict:'city'}}, {{billing_address|get_value_from_dict:'country'}}.
{% endwith %}
</address>