mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Frontend order details: Do not show empty "name" line
This commit is contained in:
@@ -288,8 +288,10 @@
|
||||
<dt>{% trans "Company" %}</dt>
|
||||
<dd>{{ order.invoice_address.company }}</dd>
|
||||
{% endif %}
|
||||
<dt>{% trans "Name" %}</dt>
|
||||
<dd>{{ order.invoice_address.name }}</dd>
|
||||
{% if invoice_address_asked or request.event.settings.invoice_name_required %}
|
||||
<dt>{% trans "Name" %}</dt>
|
||||
<dd>{{ order.invoice_address.name }}</dd>
|
||||
{% endif %}
|
||||
{% if invoice_address_asked %}
|
||||
<dt>{% trans "Address" %}</dt>
|
||||
<dd>{{ order.invoice_address.street|linebreaksbr }}</dd>
|
||||
|
||||
Reference in New Issue
Block a user