forked from CGM_Public/pretix_original
Documentation typo fix (#1908)
This commit is contained in:
@@ -1759,7 +1759,7 @@ class OrderRefund(models.Model):
|
|||||||
Marks the refund as complete. This does not modify the state of the order.
|
Marks the refund as complete. This does not modify the state of the order.
|
||||||
|
|
||||||
:param user: The user who performed the change
|
:param user: The user who performed the change
|
||||||
:param user: The API auth token that performed the change
|
:param auth: The API auth token that performed the change
|
||||||
"""
|
"""
|
||||||
self.state = self.REFUND_STATE_DONE
|
self.state = self.REFUND_STATE_DONE
|
||||||
self.execution_date = self.execution_date or now()
|
self.execution_date = self.execution_date or now()
|
||||||
|
|||||||
@@ -616,7 +616,7 @@ class EventCancelForm(forms.Form):
|
|||||||
required=False
|
required=False
|
||||||
)
|
)
|
||||||
manual_refund = forms.BooleanField(
|
manual_refund = forms.BooleanField(
|
||||||
label=_('Create manual refund if the payment method odes not support automatic refunds'),
|
label=_('Create manual refund if the payment method does not support automatic refunds'),
|
||||||
widget=forms.CheckboxInput(attrs={'data-display-dependency': '#id_auto_refund'}),
|
widget=forms.CheckboxInput(attrs={'data-display-dependency': '#id_auto_refund'}),
|
||||||
initial=True,
|
initial=True,
|
||||||
required=False,
|
required=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user