feat: info about participants' mutability status in booking data

This commit is contained in:
Björn Fromme
2025-01-30 10:55:25 +01:00
parent b71e655db2
commit 75ffca12e0
+8 -10
View File
@@ -102,21 +102,19 @@
</svg>
</div>
<div class="hidden" {{ stimulus_target('toggle', 'toggle') }}>
{#
{% if child.vars.data.personId == bookingData.applicant.personId %}
<div class="pt-4">
{% include '_partials/_alert.html.twig' with {
'level': 'info',
'messages': ['Bitte die persönlichen Daten über den Reiter \'Meine Daten\' bearbeiten']
} %}
</div>
{% endif %}
#}
<div class="flex flex-col space-y-4 pt-4">
<div class="relative">
<h3 class="text-xl font-semibold">
Persönliche Daten
</h3>
{% if not child.vars.data.mutable %}
<div class="pt-4">
{% include '_partials/_alert.html.twig' with {
'level': 'info',
'messages': ['Änderungen an den persönlichen Daten sind nur kostenpflichtig über die Kundenbetreuung möglich']
} %}
</div>
{% endif %}
<fieldset class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-4 pb-4">
{{ form_row(child.firstName) }}
{{ form_row(child.lastName) }}