feat: driver license check for teamers

closes #869bup9vf
This commit is contained in:
Björn Fromme
2026-03-15 12:42:28 +01:00
parent ebbefa0129
commit 20da6a0afc
32 changed files with 1095 additions and 6 deletions
+21
View File
@@ -127,6 +127,27 @@
{{ form_row(form.healthInsuranceCompany) }}
{{ form_row(form.language) }}
{{ form_row(form.size) }}
<div>
<div class="font-bold pb-2">Führerschein</div>
<div class="pb-2">
{% if teamer.driverLicenseDeclaration is same as(null) %}
noch nicht angegeben
{% elseif teamer.driverLicenseDeclaration %}
{% if teamer.driverLicenseVerified %}
bestätigt
{% elseif teamer.driverLicenseStatus == constant('App\\Entity\\Teamer::DRIVER_LICENSE_STATUS_DENIED') %}
abgelehnt
{% else %}
in Prüfung
{% endif %}
{% else %}
nicht vorhanden
{% endif %}
</div>
<a href="{{ path('app_teamer_check_driver_license') }}" class="btn btn--small btn--secondary">
Führerscheinstatus bearbeiten
</a>
</div>
<div {{ stimulus_controller('form-collection', { 'prototype': _self.collectionRow(form.pickups.vars.prototype)|json_encode }) }}>
<h4 class="font-bold pb-2">
Buszustiege