mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Set OrderRefund.execution_date on manual refund
This commit is contained in:
@@ -896,6 +896,11 @@ class OrderRefundView(OrderView):
|
||||
if self.request.POST.get('manual_state') == 'done'
|
||||
else OrderRefund.REFUND_STATE_CREATED
|
||||
),
|
||||
execution_date=(
|
||||
now()
|
||||
if self.request.POST.get('manual_state') == 'done'
|
||||
else None
|
||||
),
|
||||
amount=manual_value,
|
||||
comment=comment,
|
||||
provider='manual'
|
||||
|
||||
Reference in New Issue
Block a user