Commit a8d5aed9 authored by Tom van Bussel's avatar Tom van Bussel
Browse files

Merge branch 'fix/all-present' into 'master'

Fix events admin button to set all present

See merge request !553
parents b9a4d878 1d4397e7
......@@ -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