init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
|
|
@ -0,0 +1,78 @@
|
|||
{% if(isPossible) %}
|
||||
<table class="st-booking-table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="st-position-price-col">
|
||||
Datum:
|
||||
</td>
|
||||
<td class="st-position-name-col">
|
||||
{{ fewo_booking_request.fromDate|date }} - {{ fewo_booking_request.toDate|date }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><hr style="margin-top: 0; margin-bottom: 0"></td>
|
||||
</tr>
|
||||
|
||||
{% for season, values in priceResult.season %}
|
||||
<tr>
|
||||
<td class="st-position-price-col">
|
||||
Saison:
|
||||
</td>
|
||||
<td class="st-position-name-col">
|
||||
{{ season }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="st-position-price-col">
|
||||
Mindestbelegung:
|
||||
</td>
|
||||
<td class="st-position-name-col">
|
||||
{{ values.minimumStay }} {{ values.minimumStay < 2 ? 'Nacht' : 'Nächte' }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="st-position-price-col">
|
||||
+ {{ values.price|number_format(2) }} €
|
||||
</td>
|
||||
<td class="st-position-name-col">
|
||||
{{ values.numberDays }} {{ values.numberDays < 2 ? 'Nacht' : 'Nächte' }} x {{ values.perNight|number_format(2) }} €
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><hr style="margin-top: 0; margin-bottom: 0"></td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<td class="st-position-price-col">
|
||||
+ {{ priceResult.flatPrice|number_format(2) }} €
|
||||
</td>
|
||||
<td class="st-position-name-col">
|
||||
Service-Gebühr
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="st-position-price-col">
|
||||
+ {{ priceResult.deposit|number_format(2) }} €
|
||||
</td>
|
||||
<td class="st-position-name-col">
|
||||
Kaution
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="st-total-tr">
|
||||
<td class="st-position-price-col">
|
||||
<span class="st-total-price">= {{ priceResult.total_price|number_format(2) }} €</span>
|
||||
</td>
|
||||
<td class="st-position-name-col">Miete inkl. Kaution</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
|
||||
Leider ist der gewünschter Zeitraum ist nicht buchbar.<br>
|
||||
Bitte ändern Sie das Datum, rote Felder sind bereits gebucht.
|
||||
|
||||
{% endif %}
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
{# @var insurance \AppBundle\Entity\TravelInsurance #}
|
||||
|
||||
<style>
|
||||
.c1.c1b li:before {
|
||||
top:-20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<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">Preisdetails</a>)
|
||||
</label>
|
||||
|
||||
|
||||
<div class="accordion-toggle-2">
|
||||
<div class="panel-group booking_insurance_toogle" id="accordion_in_{{ form.vars.id }}" style="margin-left: 5px;margin-top: 5px;">
|
||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion_in_{{ form.vars.id }}" href="#collapse_in_{{ form.vars.id }}" aria-expanded="false">
|
||||
<h5 style="font-size: 0.9em;font-weight: 600;"><span>Leistungen einblenden</span><i class="indicator pull-right icon-plus"></i></h5>
|
||||
</a>
|
||||
<div id="collapse_in_{{ form.vars.id }}" class="panel-collapse collapse" aria-expanded="false" style="height: 0px;">
|
||||
<div class="panel-body">
|
||||
{% if insurance.insuranceName != "" %}
|
||||
|
||||
<p><strong>Versicherung:</strong> {{ insurance.insuranceName }} </p>
|
||||
{% endif %}
|
||||
<ul class="c1 c1b">
|
||||
{% if insurance.text != "" %}
|
||||
{% for textli in insurance.text|split('\n') %}
|
||||
<li>{{ textli|raw }}</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% if insurance.insurancePdf != "" %}
|
||||
<br>
|
||||
<p><a href="/_uploads/{{ insurance.insurancePdf }} " target="_blank"> Informationsblatt zur Versicherung <i class="fa fa-file-pdf-o"></i></a> </p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% embed 'default/components/embed/modal.html.twig' with {
|
||||
id: 'insurance-' ~ insurance.id,
|
||||
title: insurance.name
|
||||
} %}
|
||||
{% block body %}
|
||||
<h3>Leistungen & Preisliste</h3>
|
||||
|
||||
{#
|
||||
<ul class="c1 c1b">
|
||||
{% for item in insurance.included|split('\n') %}
|
||||
<li>{{ item }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
#}
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Reisepreis bis</td>
|
||||
<td>je Person (bis 65 Jahren)</td>
|
||||
<td>je Person (ab 66 Jahren)</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) }} €
|
||||
{% elseif insurance_price.percent > 0 %}
|
||||
{{ insurance_price.percent|number_format }} % vom Reisepreis
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if insurance_price.priceOld > 0 %}
|
||||
{{ insurance_price.priceOld|number_format(2) }} €
|
||||
{% elseif insurance_price.percentOld > 0 %}
|
||||
{{ insurance_price.percentOld|number_format }} % vom Reisepreis
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
<table class="st-booking-table">
|
||||
<tbody>
|
||||
{% for summary_entry in summary %}
|
||||
<tr>
|
||||
<td class="st-position-price-col" style="min-width: 120px;">
|
||||
{% if(summary_entry.value != "!") %}
|
||||
{{ summary_entry.value|number_format(2) }} €
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="st-position-name-col">
|
||||
{{ summary_entry.label|raw }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
<tr class="st-total-tr">
|
||||
<td class="st-position-price-col" style="min-width: 120px;">
|
||||
<span class="st-total-price">= {{ total_price|number_format(2) }} €</span>
|
||||
</td>
|
||||
<td class="st-position-name-col">Gesamtpreis der Reise</td>
|
||||
</tr>
|
||||
|
||||
<tr class="">
|
||||
<td class="st-position-price-col" style="min-width: 120px;">
|
||||
<span class="st-deposit-price">{{ booking_price_info.deposit_total|number_format(2) }} €</span>
|
||||
</td>
|
||||
<td class="st-position-name-col">Anzahlung (ist sofort fällig)</td>
|
||||
</tr>
|
||||
{% if( booking_price_info.totalInsurance > 0) %}
|
||||
<tr class="">
|
||||
<td class="st-position-price-col" style="min-width: 120px;">
|
||||
<span class="st-deposit-price">{{ booking_price_info.totalInsurance|number_format(2) }} €</span>
|
||||
</td>
|
||||
<td class="st-position-name-col">Versicherung (ist sofort fällig)</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr class="">
|
||||
<td class="st-position-price-col" style="min-width: 120px;">
|
||||
<span class="st-final-price">{{ booking_price_info.final_payment|number_format(2) }} €</span>
|
||||
</td>
|
||||
<td class="st-position-name-col">Restzahlung ({{ booking_price_info.final_payment_date_str}})</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
@ -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