Merge pull request #1643 from pretix/event_cancellation_giftcard_refund

Allow to issue gift card refunds when cancelling whole events
This commit is contained in:
Martin Gross
2020-04-15 13:00:41 +02:00
committed by GitHub
4 changed files with 19 additions and 2 deletions

View File

@@ -2017,6 +2017,8 @@ class EventCancel(EventPermissionRequiredMixin, AsyncAction, FormView):
self.request.event.pk,
subevent=form.cleaned_data['subevent'].pk if form.cleaned_data.get('subevent') else None,
auto_refund=form.cleaned_data.get('auto_refund'),
manual_refund=form.cleaned_data.get('manual_refund'),
refund_as_giftcard=form.cleaned_data.get('refund_as_giftcard'),
keep_fee_fixed=form.cleaned_data.get('keep_fee_fixed'),
keep_fee_percentage=form.cleaned_data.get('keep_fee_percentage'),
keep_fees=form.cleaned_data.get('keep_fees'),