git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3283 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
75a065758f
commit
7422f06e90
261 changed files with 83347 additions and 0 deletions
|
|
@ -0,0 +1,45 @@
|
|||
{# @var insurance \AppBundle\Entity\TravelInsurance #}
|
||||
<div class="radio">
|
||||
{{ form_widget(form) }}
|
||||
|
||||
<label for="{{ form.vars.id }}">
|
||||
{{ insurance.name }}
|
||||
(<a href="#" data-toggle="modal" data-target="#st-insurance-{{ insurance.id }}-modal">Details</a>)
|
||||
</label>
|
||||
|
||||
{% embed 'default/components/embed/modal.html.twig' with {
|
||||
id: 'insurance-' ~ insurance.id,
|
||||
title: insurance.name
|
||||
} %}
|
||||
{% block body %}
|
||||
<h3>Leistungen & Preisliste</h3>
|
||||
<ul>
|
||||
{% for item in insurance.included|split('\n') %}
|
||||
<li>{{ item }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Reisepreis bis</td>
|
||||
<td>je Person</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for insurance_price in insurance.prices %}
|
||||
<tr>
|
||||
<td>{{ insurance_price.border|number_format(2) }} €</td>
|
||||
<td>
|
||||
{% if insurance_price.price > 0 %}
|
||||
{{ insurance_price.price|number_format(2) }} €
|
||||
{% else %}
|
||||
{{ insurance_price.percent|number_format }} % vom Reisepreis
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
</div>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{# @var travelOption \AppBundle\Entity\TravelOption #}
|
||||
<div class="checkbox">
|
||||
{{ form_widget(travelOptionForm) }}
|
||||
<label for="{{ travelOptionForm.vars.id }}">
|
||||
{{ travelOption.name }} (p.P {{ travelOption.price|number_format(2) }} €)
|
||||
{% if travelOption.description is not empty %}
|
||||
<br class="visible-xs">
|
||||
(<a href="#" data-toggle="modal" data-target="#st-booking-option-{{ travelOption.id }}-modal">Details</a>)
|
||||
{% endif %}
|
||||
</label>
|
||||
{% if travelOption.description is not empty %}
|
||||
{% embed "default/components/embed/modal.html.twig" with {
|
||||
'title': travelOption.name,
|
||||
'id': 'booking-option-' ~ travelOption.id
|
||||
} %}
|
||||
{% block body %}{{ travelOption.description|raw }}{% endblock %}
|
||||
{% endembed %}
|
||||
{% endif %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue