Rabatt export, optimize

This commit is contained in:
Kevin Adametz 2019-11-07 17:09:18 +01:00
parent 54fc46ace4
commit f2be8e54b4
23 changed files with 552 additions and 34 deletions

View file

@ -219,15 +219,20 @@
{% if extraDays == 1 and travel_program.drafts.count() > 0 %}
<tr>
{% else %}
<tr style="display:none">
<tr style="display:none;">
{% endif %}
<td>Verlängerung buchen</td>
<td>
<p>{{ getContextBySlug('verlaengerung-vor') }}</p>
{% for country in travel_program.countries %}
<p>{{ country.textBefore }}</p>
{% endfor %}
{{ form_widget(form.extraBookingDaysBefore) }}
{{ form_errors(form.extraBookingDaysBefore) }}
<br>
<p>{{ getContextBySlug('verlaengerung-nach') }}</p>
{% for country in travel_program.countries %}
<p>{{ country.textAfter }}</p>
{% endfor %}
{{ form_widget(form.extraBookingDaysAfter) }}
{{ form_errors(form.extraBookingDaysAfter) }}