Allow admins to inspect invoices (#5641)

This is helpful to debug invoice renderers or non-PDF invoices like
Peppol or other XML formats
This commit is contained in:
Raphael Michel
2025-11-19 14:42:18 +01:00
committed by GitHub
parent 9c80f3038a
commit db7518735a
4 changed files with 34 additions and 2 deletions

View File

@@ -362,6 +362,11 @@
</form>
{% endif %}
{% endif %}
{% if staff_session %}
<a class="btn btn-default btn-xs admin-only" href="{% url "control:event.order.inspect" event=request.event.slug organizer=request.event.organizer.slug code=order.code id=i.pk %}">
{% trans "Inspect" %}
</a>
{% endif %}
{% if forloop.revcounter0 > 0 %}
<br/>
{% endif %}