From 2486c3d205ee5e4b7364c2763fbe2b7a350c0f15 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 23 Mar 2022 09:15:10 +0100 Subject: [PATCH] Show refund amount in refund choice screen --- .../control/templates/pretixcontrol/order/refund_choose.html | 1 + src/pretix/control/views/orders.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pretix/control/templates/pretixcontrol/order/refund_choose.html b/src/pretix/control/templates/pretixcontrol/order/refund_choose.html index 72b179d19..d10485eb5 100644 --- a/src/pretix/control/templates/pretixcontrol/order/refund_choose.html +++ b/src/pretix/control/templates/pretixcontrol/order/refund_choose.html @@ -8,6 +8,7 @@ {% block content %}

{% trans "Refund order" %} + {{ full_refund|money:request.event.currency }} {% blocktrans trimmed with order=order.code %} diff --git a/src/pretix/control/views/orders.py b/src/pretix/control/views/orders.py index c97a56556..5e2079699 100644 --- a/src/pretix/control/views/orders.py +++ b/src/pretix/control/views/orders.py @@ -1123,6 +1123,7 @@ class OrderRefundView(OrderView): return render(self.request, 'pretixcontrol/order/refund_choose.html', { 'payments': payments, 'new_refunds': new_refunds, + 'full_refund': full_refund, 'remainder': to_refund, 'order': self.order, 'comment': comment,