forked from CGM_Public/pretix_original
Fixed an AttributeError when refunding an order
This commit is contained in:
@@ -376,7 +376,7 @@ class BasePaymentProvider:
|
|||||||
|
|
||||||
:param order: The order object
|
:param order: The order object
|
||||||
"""
|
"""
|
||||||
self.order.log_action('pretix.base.order.refunded')
|
order.log_action('pretix.base.order.refunded')
|
||||||
return '<div class="alert alert-warning">%s</div>' % _('The money can not be automatically refunded, '
|
return '<div class="alert alert-warning">%s</div>' % _('The money can not be automatically refunded, '
|
||||||
'please transfer the money back manually.')
|
'please transfer the money back manually.')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user