Add VAT number to order detail (hosting)

This commit is contained in:
PCoder 2019-12-25 10:37:45 +05:30
parent 8ebd12c420
commit 92570ada7f

View file

@ -62,6 +62,9 @@
{{user.name}}<br>
{{order.billing_address.street_address}}, {{order.billing_address.postal_code}}<br>
{{order.billing_address.city}}, {{order.billing_address.country}}
{% if order.billing_address.vat_number %}
<br/>{% trans "VAT Number" %} {{order.billing_address.vat_number}}
{% endif %}
{% else %}
{% with request.session.billing_address_data as billing_address %}
{{billing_address.cardholder_name}}<br>