mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Add BasePaymentProvider.payment_control_render_short and use it on refund page
This commit is contained in:
@@ -1001,6 +1001,10 @@ class OrderRefundView(OrderView):
|
||||
(prov, form)
|
||||
)
|
||||
|
||||
for p in payments:
|
||||
if p.payment_provider:
|
||||
p.html_info = (p.payment_provider.payment_control_render_short(p) or "").strip()
|
||||
|
||||
return render(self.request, 'pretixcontrol/order/refund_choose.html', {
|
||||
'payments': payments,
|
||||
'new_refunds': new_refunds,
|
||||
|
||||
Reference in New Issue
Block a user