Allow to print question answers on invoices

This commit is contained in:
Raphael Michel
2019-08-30 17:24:57 +02:00
parent aa99dbc830
commit 7fc7dd0163
9 changed files with 56 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ class QuestionSerializer(I18nAwareModelSerializer):
model = Question
fields = ('id', 'question', 'type', 'required', 'items', 'options', 'position',
'ask_during_checkin', 'identifier', 'dependency_question', 'dependency_values',
'hidden', 'dependency_value')
'hidden', 'dependency_value', 'print_on_invoice')
def validate_identifier(self, value):
Question._clean_identifier(self.context['event'], value, self.instance)