Fix handling of cancellation requests with free and unpaid orders

This commit is contained in:
Raphael Michel
2021-06-22 09:41:00 +02:00
parent eaf663794e
commit d6849c45fe
3 changed files with 65 additions and 10 deletions

View File

@@ -112,15 +112,15 @@
</div>
{% endif %}
{% eventsignal event "pretix.presale.signals.order_info_top" order=order request=request %}
{% if order.cancellation_requests.exists %}
<div class="alert alert-info">
{% blocktrans trimmed %}
We've received your request to cancel this order. Please stay patient while the event organizer
decides on the cancellation.
{% endblocktrans %}
</div>
{% endif %}
{% if order.status == "p" or order.status == "c" %}
{% if order.cancellation_requests.exists %}
<div class="alert alert-info">
{% blocktrans trimmed %}
We've received your request to cancel this order. Please stay patient while the event organizer
decides on the cancellation.
{% endblocktrans %}
</div>
{% endif %}
{% if refunds %}
<div class="panel panel-primary">
<div class="panel-heading">