wip: modernized edit flow, fix insurance tier calculation
This commit is contained in:
@@ -216,9 +216,8 @@
|
||||
{% set applicantInsurance = form.vars.data.participants[0].insurance %}
|
||||
{% if applicantInsurance %}
|
||||
{{ applicantInsurance.label }}
|
||||
{% set participantPrice = participantPrices[loop.index0] %}
|
||||
{% if participantPrice.insurance and participantPrice.insurance > 0 %}
|
||||
<span class="text-gray-500">(€{{ participantPrice.insurance|number_format(2, ',', '.') }})</span>
|
||||
{% if applicantInsurance.price and applicantInsurance.price > 0 %}
|
||||
<span class="text-gray-500">(€{{ applicantInsurance.price|number_format(2, ',', '.') }})</span>
|
||||
{% endif %}
|
||||
<span class="italic text-gray-500 ml-2">– wie Anmelder</span>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user