Order cancel: Show refund methods

This commit is contained in:
Raphael Michel
2021-01-07 17:55:30 +01:00
parent 2dee222482
commit 1c769f2876
2 changed files with 24 additions and 0 deletions

View File

@@ -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