forked from CGM_Public/pretix_original
Open invoices on new page
This commit is contained in:
@@ -239,7 +239,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for i in invoices %}
|
{% for i in invoices %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{% eventurl event "presale:event.invoice.download" invoice=i.pk secret=order.secret order=order.code %}">
|
<a href="{% eventurl event "presale:event.invoice.download" invoice=i.pk secret=order.secret order=order.code %}" target="_blank">
|
||||||
{% if i.is_cancellation %}{% trans "Cancellation" context "invoice" %}{% else %}{% trans "Invoice" %}{% endif %}
|
{% if i.is_cancellation %}{% trans "Cancellation" context "invoice" %}{% else %}{% trans "Invoice" %}{% endif %}
|
||||||
{{ i.number }}</a> ({{ i.date|date:"SHORT_DATE_FORMAT" }})
|
{{ i.number }}</a> ({{ i.date|date:"SHORT_DATE_FORMAT" }})
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user