feat: driver license check for teamers
closes #869bup9vf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user