Fix accidential removal of gitcard-filter

This commit is contained in:
Martin Gross
2020-10-06 14:46:53 +02:00
parent 72bb5bd177
commit 5cd6cba0a2

View File

@@ -662,6 +662,7 @@ class GiftcardRedemptionListExporter(ListExporter):
def iterate_list(self, form_data):
payments = OrderPayment.objects.filter(
order__event__in=self.events,
provider='giftcard',
state__in=(OrderPayment.PAYMENT_STATE_CONFIRMED, OrderPayment.PAYMENT_STATE_REFUNDED),
).order_by('created')
refunds = OrderRefund.objects.filter(