Allow organizers to modify answers to check-in questions

This commit is contained in:
Raphael Michel
2018-03-17 22:10:43 +01:00
parent 3f55c694b8
commit 35f1999b3a
3 changed files with 11 additions and 2 deletions

View File

@@ -639,6 +639,7 @@ class OrderChange(OrderView):
class OrderModifyInformation(OrderQuestionsViewMixin, OrderView):
permission = 'can_change_orders'
template_name = 'pretixcontrol/order/change_questions.html'
only_user_visible = False
def post(self, request, *args, **kwargs):
failed = not self.save() or not self.invoice_form.is_valid()