Fewo Booking
Booking via API in CRM v3
This commit is contained in:
parent
88360eabb7
commit
8c514bbd4d
38 changed files with 868 additions and 18044 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue