Use invoice's username and email
This commit is contained in:
parent
bb7107fe80
commit
316646465d
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@
|
||||||
<h4>{% trans "Billed to" %}:</h4>
|
<h4>{% trans "Billed to" %}:</h4>
|
||||||
<p>
|
<p>
|
||||||
{% if invoice.order %}
|
{% if invoice.order %}
|
||||||
{{user.name}}<br>
|
{{invoice.customer.user.name}}<br>
|
||||||
{{invoice.order.billing_address.street_address}},
|
{{invoice.order.billing_address.street_address}},
|
||||||
{{invoice.order.billing_address.postal_code}}<br>
|
{{invoice.order.billing_address.postal_code}}<br>
|
||||||
{{invoice.order.billing_address.city}},
|
{{invoice.order.billing_address.city}},
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
{% if invoice.order %}
|
{% if invoice.order %}
|
||||||
{{invoice.order.cc_brand}} {% trans "ending in" %} ****
|
{{invoice.order.cc_brand}} {% trans "ending in" %} ****
|
||||||
{{invoice.order.last4}}<br>
|
{{invoice.order.last4}}<br>
|
||||||
{{user.email}}
|
{{invoice.customer.user.email}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue