feat: indicate family insurance eligibility
This commit is contained in:
@@ -551,6 +551,15 @@
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="pb-4">
|
||||
{# The applicant has to choose an insurance before the dependents' dates of birth
|
||||
are known, so a family insurance cannot be offered at that point. Once the
|
||||
constellation qualifies, this standing hint points them back at the option. #}
|
||||
{% if participantIndex == 0 and bookingCreateContext is defined and bookingCreateContext.familyInsuranceUpgradeAvailable %}
|
||||
{% include '_partials/_alert.html.twig' with {
|
||||
level: 'info',
|
||||
messages: ['Für eure Konstellation ist auch eine Familienversicherung verfügbar und kann über die anmeldende Person gebucht werden.']
|
||||
} %}
|
||||
{% endif %}
|
||||
<fieldset class="border border-primary-bg">
|
||||
<legend class="{{ html_classes('w-full bg-primary-bg p-2 font-semibold uppercase', { 'text-red-500': form.insurance is defined and not form.insurance.vars.valid }) }}">
|
||||
Reiseversicherung*
|
||||
|
||||
Reference in New Issue
Block a user