mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Order cancel: Show refund methods
This commit is contained in:
@@ -792,6 +792,10 @@ class OrderCancel(EventViewMixin, OrderDetailMixin, TemplateView):
|
||||
ctx['cancel_fee'] = fee
|
||||
ctx['refund_amount'] = refund_amount
|
||||
ctx['can_auto_refund'] = sum(proposals.values()) == refund_amount
|
||||
ctx['proposals'] = [
|
||||
p.payment_provider.payment_presale_render(payment=p)
|
||||
for p in proposals
|
||||
]
|
||||
return ctx
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user