Fewo Booking

Booking via API in CRM v3
This commit is contained in:
Kevin Adametz 2019-03-28 14:54:10 +01:00
parent 88360eabb7
commit 8c514bbd4d
38 changed files with 868 additions and 18044 deletions

View file

@ -66,7 +66,7 @@
<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">Gesamtpreis der Reise</td>
<td class="st-position-name-col">Miete inkl. Kaution</td>
</tr>
</tbody>
</table>

View file

@ -11,7 +11,7 @@
<label for="{{ form.vars.id }}">
{{ insurance.name }}
(<a href="#" data-toggle="modal" data-target="#st-insurance-{{ insurance.id }}-modal">Details</a>)
(<a href="#" data-toggle="modal" data-target="#st-insurance-{{ insurance.id }}-modal">Preisdetails</a>)
</label>
@ -49,16 +49,19 @@
{% block body %}
<h3>Leistungen & Preisliste</h3>
<ul class="c1 c1b">
{#
<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</td>
<td>je Person (bis 65 Jahren)</td>
<td>je Person (ab 66 Jahren)</td>
</tr>
</thead>
<tbody>
@ -68,10 +71,17 @@
<td>
{% if insurance_price.price > 0 %}
{{ insurance_price.price|number_format(2) }}
{% else %}
{% 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>

View file

@ -27,13 +27,19 @@
</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>

View file

@ -5,8 +5,8 @@
<div class="info-text">
<i class="fa fa-phone"></i>
<p class="text">
030 - 700 94 100
<span class="small">Mo-Fr 09:00 - 22:00 Uhr • Sa 10:00 - 22:00 Uhr • So 11:00 - 22:00 Uhr</span>
{{ getContextBySlug('telefon-header') }}
<span class="small"> {{ getContextBySlug('uhrzeit-header')|replace({'|': " • "})|raw }} Uhr</span>
</p>
</div>
</div>

View file

@ -3,8 +3,9 @@
<div class="container-fluid">
<div class="pull-right">
<ul class="topbar-drops list-inline">
<li class="nohover visible-xs visible-sm"> Mo-Fr: 09:00 - 22:00 | Sa: 10:00 - 22:00 | So: 11:00 - 22:00 Uhr</li>
<li class="nohover"><i class="fa fa-phone"></i> 030 - 700 94 100</li>
<li class="nohover visible-xs visible-sm"> {{ getContextBySlug('uhrzeit-header') }} Uhr
</li>
<li class="nohover"><i class="fa fa-phone"></i> {{ getContextBySlug('telefon-header') }}</li>
<li>
<a href="/kontakt" title="Kontakt"><i class="fa fa-envelope"></i> <span class="hidden-xs">Kontakt</span></a>
</li>
@ -83,7 +84,7 @@
<span style="float:left; margin-top: 30pt; margin-right: 5pt; color: #e5aa30; font-size: 18px">E-Mail: <a
href="mailto:stern@sterntours.de" style="font-size: 18px; color: #777777">stern@sterntours.de</a></span>
<i class="fa fa-phone "></i>
<span>Mo-Fr: 09:00 - 22:00 Uhr<br>Sa: 10:00 - 22:00 Uhr<br>So: 11:00 - 22:00 Uhr</span>
<span>{{ getContextBySlug('uhrzeit-header')|replace({'|': "Uhr<br>"})|raw }} Uhr</span>
</div>
</div><!-- end navbar-callopse -->

View file

@ -1,8 +1,8 @@
<div id="show_sterntours_video_sidebar" class="widget clearfix">
<div class="widget-title">
<a class="collapse-widget {{ app.request.get('_open_side_about') }} {% if(app.request.get('_open_side_about') == 'closed') %} collapsed {% endif %}" href="#about-widget" data-toggle="collapse" aria-expanded="true">{{ widget.name }}</a>
<a class="collapse-widget {{ app.request.get('_open_side_about') }}" href="#about-widget" data-toggle="collapse" aria-expanded="true">{{ widget.name }}</a>
</div><!-- end title -->
<div class="boxwidget collapse {{ app.request.get('_open_side_about') }} {% if(app.request.get('_open_side_about') == 'open') %} in open {% endif %}" id="about-widget" aria-expanded="true">
<div class="boxwidget collapse in {{ app.request.get('_open_side_about') }} " id="about-widget" aria-expanded="true">
{{ widget.html|raw }}
</div><!-- end boxwidget -->
</div><!-- end widget -->