mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Allow to hide cancellation fee from end-user in approval flow (#2735)
Co-authored-by: Richard Schreiber <wiffbi@gmail.com>
This commit is contained in:
@@ -373,7 +373,26 @@
|
||||
{% if user_cancel_allowed %}
|
||||
<li class="list-group-item">
|
||||
{% if order.status == "p" and order.total != 0 %}
|
||||
{% if order.user_cancel_fee >= order.total %}
|
||||
{% if request.event.settings.cancel_allow_user_paid_require_approval and request.event.settings.cancel_allow_user_paid_require_approval_fee_unknown %}
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
You can request to cancel this order.
|
||||
{% endblocktrans %}
|
||||
{% blocktrans trimmed %}
|
||||
If your request is approved, the organizer will determine if you will receive a
|
||||
full refund or if a cancellation fee is deducted according to their cancellation
|
||||
policy.
|
||||
{% endblocktrans %}
|
||||
{% if request.event.settings.cancel_allow_user_paid_refund_as_giftcard == "force" %}
|
||||
{% trans "The refund will be issued in form of a gift card that you can use for further purchases." %}
|
||||
{% elif request.event.settings.cancel_allow_user_paid_refund_as_giftcard == "option" %}
|
||||
{% trans "The refund can be issued to your original payment method or as a gift card." %}
|
||||
{% elif request.event.settings.cancel_allow_user_paid_refund_as_giftcard == "off" %}
|
||||
{% trans "The refund will be issued to your original payment method." %}
|
||||
{% endif %}
|
||||
{% trans "This will invalidate all tickets in this order." %}
|
||||
</p>
|
||||
{% elif order.user_cancel_fee >= order.total %}
|
||||
<p>
|
||||
{% if request.event.settings.cancel_allow_user_paid_require_approval %}
|
||||
{% blocktrans trimmed %}
|
||||
|
||||
@@ -22,12 +22,25 @@
|
||||
data-asynctask
|
||||
class="">
|
||||
{% if request.event.settings.cancel_allow_user_paid_require_approval and order.status == "p" and order.total != 0 %}
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
You can request the cancellation of your order on this page. The event organizer will then decide
|
||||
on your request. If they approve, your order will be canceled and all tickets will be invalidated.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
{% if request.event.settings.cancel_allow_user_paid_require_approval_fee_unknown %}
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
You can request to cancel this order.
|
||||
{% endblocktrans %}
|
||||
{% blocktrans trimmed %}
|
||||
If your request is approved, the organizer will determine if you will receive a
|
||||
full refund or if a cancellation fee is deducted according to their cancellation
|
||||
policy.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
You can request the cancellation of your order on this page. The event organizer will then decide
|
||||
on your request. If they approve, your order will be canceled and all tickets will be invalidated.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
@@ -37,6 +50,7 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if not request.event.settings.cancel_allow_user_paid_require_approval or not request.event.settings.cancel_allow_user_paid_require_approval_fee_unknown %}
|
||||
{% if request.event.settings.cancel_allow_user_paid_adjust_fees and order.status == "p" and order.total != 0 %}
|
||||
<p>
|
||||
{% if cancel_fee %}
|
||||
@@ -82,6 +96,7 @@
|
||||
<strong>{% trans "Refund amount:" %}</strong> {{ refund_amount|money:request.event.currency }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if refund_amount %}
|
||||
{% if request.event.settings.cancel_allow_user_paid_refund_as_giftcard == "manually" %}
|
||||
|
||||
Reference in New Issue
Block a user