From 8c80200fc0c24798d897e28753da48615bd52e0e Mon Sep 17 00:00:00 2001 From: Julian Baumann Date: Thu, 23 Nov 2023 09:48:28 +0100 Subject: [PATCH] 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 --- .../templates/pretixcontrol/orders/index.html | 7 +++ src/pretix/control/urls.py | 1 + src/pretix/control/views/orders.py | 40 +++++++++++++++- src/tests/control/test_orders_bulk.py | 47 +++++++++++++++++++ 4 files changed, 93 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/orders/index.html b/src/pretix/control/templates/pretixcontrol/orders/index.html index d42a710f3f..00494672cf 100644 --- a/src/pretix/control/templates/pretixcontrol/orders/index.html +++ b/src/pretix/control/templates/pretixcontrol/orders/index.html @@ -299,6 +299,13 @@ {% trans "Deny" %} +
  • + +
  • {% if not request.event.settings.payment_term_expire_automatically %}