From 316646465df8d4eb3ee150a6453937f294e53ae7 Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 4 Apr 2019 07:46:28 +0200 Subject: [PATCH] Use invoice's username and email --- hosting/templates/hosting/invoice_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosting/templates/hosting/invoice_detail.html b/hosting/templates/hosting/invoice_detail.html index 335dfcfb..e63f25a7 100644 --- a/hosting/templates/hosting/invoice_detail.html +++ b/hosting/templates/hosting/invoice_detail.html @@ -65,7 +65,7 @@

{% trans "Billed to" %}:

{% if invoice.order %} - {{user.name}}
+ {{invoice.customer.user.name}}
{{invoice.order.billing_address.street_address}}, {{invoice.order.billing_address.postal_code}}
{{invoice.order.billing_address.city}}, @@ -81,7 +81,7 @@ {% if invoice.order %} {{invoice.order.cc_brand}} {% trans "ending in" %} **** {{invoice.order.last4}}
- {{user.email}} + {{invoice.customer.user.email}} {% endif %}