mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Control/Order Details: Open invoices/cancellations PDFs in new tab
This commit is contained in:
@@ -242,7 +242,7 @@
|
||||
<dt>{% trans "Invoices" %}</dt>
|
||||
<dd>
|
||||
{% for i in invoices %}
|
||||
<a href="{% url "control:event.invoice.download" invoice=i.pk event=request.event.slug organizer=request.event.organizer.slug %}">
|
||||
<a href="{% url "control:event.invoice.download" invoice=i.pk event=request.event.slug organizer=request.event.organizer.slug %}" target="_blank">
|
||||
{% if i.is_cancellation %}{% trans "Cancellation" context "invoice" %}{% else %}{% trans "Invoice" %}{% endif %}
|
||||
{{ i.number }}</a>
|
||||
({{ i.date|date:"SHORT_DATE_FORMAT" }})
|
||||
|
||||
Reference in New Issue
Block a user