mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Orders: Add bulk action to refund overpaid amount (#3721)
* add bulk action to refund overpaid amount * display number of successful actions, use existing annotate method * add tests, address review comments * lint
This commit is contained in:
@@ -299,6 +299,13 @@
|
||||
{% trans "Deny" %}
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" class="btn"
|
||||
formaction="{% url "control:event.orders.bulk.refund_overpaid" organizer=request.organizer.slug event=request.event.slug %}">
|
||||
<i class="fa fa-money fa-fw text-danger"></i>
|
||||
{% trans "Refund overpaid amount" %}
|
||||
</button>
|
||||
</li>
|
||||
{% if not request.event.settings.payment_term_expire_automatically %}
|
||||
<li>
|
||||
<button type="submit" class="btn"
|
||||
|
||||
Reference in New Issue
Block a user