wip: modernized edit flow, fix insurance tier calculation

This commit is contained in:
Björn Fromme committed 2025-10-09 17:42:39 +02:00
1 parent cba0f747cd
commit 67c642bc2f
31 files changed
+272 -536

No files matched your search

+2 -3
View File
@@ -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 %}