Verified Commit 1d4397e7 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix events admin button to set all present

parent 94cbc4be
......@@ -389,6 +389,6 @@ def all_present(request, event_id):
.order_by('date')[:event.max_participants])
event.registration_set.filter(pk__in=registrations_query).update(
present=True, paid=True)
present=True, payment='cash_payment')
return HttpResponseRedirect('/events/admin/{}'.format(event_id))
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