Make VAT number a part of billing address
This commit is contained in:
parent
c9de757bc7
commit
f566aa8a2e
8 changed files with 11 additions and 32 deletions
|
|
@ -70,8 +70,8 @@
|
|||
{{invoice.order.billing_address.postal_code}}<br>
|
||||
{{invoice.order.billing_address.city}},
|
||||
{{invoice.order.billing_address.country}}
|
||||
{% if invoice.customer.user.vat_number %}
|
||||
<br/>{% trans "VAT Number" %} {{invoice.customer.user.vat_number}}
|
||||
{% if invoice.order.billing_address.vat_number %}
|
||||
<br/>{% trans "VAT Number" %} {{invoice.order.billing_address.vat_number}}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@
|
|||
{{billing_address.cardholder_name}}<br>
|
||||
{{billing_address.street_address}}, {{billing_address.postal_code}}<br>
|
||||
{{billing_address.city}}, {{billing_address.country}}
|
||||
{% if user.vat_number %}
|
||||
<br/>{% trans "VAT Number" %} {{user.vat_number}}
|
||||
{% if billing_address.vat_number %}
|
||||
<br/>{% trans "VAT Number" %} {{billing_address.vat_number}}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue