Verified Commit 3ed23064 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix events payment status export in csv

parent 54be22a3
......@@ -174,10 +174,8 @@ class EventRegistrationsExport(View, PermissionRequiredMixin):
_('Date cancelled'): cancelled,
}
if event.price > 0:
if registration.payment == registration.PAYMENT_CASH:
data[_('Paid')] = _('Cash')
elif registration.payment == registration.PAYMENT_CARD:
data[_('Paid')] = _('Pin')
if registration.is_paid():
data[_('Paid')] = registration.payment.get_type_display()
else:
data[_('Paid')] = _('No')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment