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

@@ -94,7 +94,8 @@ class QuestionForm(I18nModelForm):
'identifier',
'items',
'dependency_question',
'dependency_values'
'dependency_values',
'print_on_invoice',
]
widgets = {
'items': forms.CheckboxSelectMultiple(

View File

@@ -112,6 +112,7 @@
{% bootstrap_field form.identifier layout="control" %}
{% bootstrap_field form.ask_during_checkin layout="control" %}
{% bootstrap_field form.hidden layout="control" %}
{% bootstrap_field form.print_on_invoice layout="control" %}
<div class="form-group">
<label class="col-md-3 control-label" for="id_dependency_question">