Hide manual refunds from users as well

This commit is contained in:
Raphael Michel
2019-10-23 14:38:45 +02:00
parent d0340044d3
commit 277b7ad71c

View File

@@ -223,7 +223,7 @@ class OrderDetails(EventViewMixin, OrderDetailMixin, CartMixin, TicketPageMixin,
ctx['refunds'] = self.order.refunds.filter(
state__in=(OrderRefund.REFUND_STATE_DONE, OrderRefund.REFUND_STATE_TRANSIT, OrderRefund.REFUND_STATE_CREATED)
).exclude(
provider__in=('offsetting', 'reseller', 'boxoffice')
provider__in=('offsetting', 'reseller', 'boxoffice', 'manual')
)
return ctx