{% set title = 'misiv.tooltip.' ~ typeKepler ~ '_tooltip' %}

{{ title|trans({}, translationDomain) }}

{{ form_start(form, {'action': path('admin_app_vehicle_misiv_popup_check', { 'id':vehicle.id,'typeKepler': typeKepler,'typeMisiv':'DIVN','typeRequest':typeRequest })}) }}

{{ 'misiv.popup.subtitle.information_vehicle'|trans({}, translationDomain) }}


{{ form_row(form.vehicle.licenseNumber) }}
{{ form_row(form.vehicle.vin) }}
{{ form_row(form.vehicle.D1Marque) }}
{{ form_row(form.vehicle.D2Version) }}
{{ form_row(form.dataTransmission) }}

{{ 'misiv.popup.subtitle.information_certification'|trans({}, translationDomain) }}


{{ form_row(form.vehicle.F1MMaxTechAdm) }}
{{ form_row(form.vehicle.F2MMaxAdmServ) }}
{{ form_row(form.vehicle.GMMaxAvecAttelage) }}
{{ form_row(form.vehicle.G1PoidsVide) }}
{{ form_row(form.vehicle.J1Genre) }}
{{ form_row(form.vehicle.J3Carrosserie) }}
{{ form_row(form.vehicle.S1NbPlaceAssise) }}
{{ form_row(form.vehicle.Z1Mention1) }}
{% if vehicle.getCertification().getNationalDelivery() == true %}
{{ form_row(form.vehicle.D3Denomination) }}
{{ form_row(form.vehicle.F3MMaxAdmEns) }}
{{ form_row(form.vehicle.JCategorieCE) }}
{{ form_row(form.vehicle.P1Cyl) }}
{{ form_row(form.vehicle.P2PuissKW) }}
{{ form_row(form.vehicle.P3Energie) }}
{{ form_row(form.vehicle.P6PuissFiscale) }}
{{ form_row(form.vehicle.QRapportPuissMasse) }}
{{ form_row(form.vehicle.S2NbPlaceDebout) }}
{{ form_row(form.vehicle.U1NiveauSonore) }}
{{ form_row(form.vehicle.U2NbTours) }}
{{ form_row(form.vehicle.V7Co2) }}
{{ form_row(form.vehicle.V9ClasseEnvCE) }}
{% else %}
{{ form_row(form.vehicle.KNumRecepCE) }}
{{ form_row(form.vehicle.DateReception) }}
{{ form_row(form.vehicle.D21CNIT) }}
{% endif %}

{{ 'misiv.popup.subtitle.information_owner'|trans({}, translationDomain) }}


{{ form_row(form.owner.type) }}
{% if vehicle.getCertification().getNewOwner().getContact()|instanceof('AppBundle\\Entity\\Contact\\ContactIndividual') %}
{{ form_row(form.owner.lastName) }} {{ form_row(form.owner.firstName) }} {{ form_row(form.owner.sex) }}

{{ form_row(form.owner.birthName) }} {{ form_row(form.owner.birthDate) }} {{ form_row(form.owner.birthPlace) }} {{ form_row(form.owner.birthDepartment) }} {{ form_row(form.owner.birthCountry) }}
{% else %}
{{ form_row(form.owner.companyName) }} {{ form_row(form.owner.companySiret) }}
{% endif %}
{# Adresse #}
{{ form_label(form.owner.addressNumber) }}
{{ form_widget(form.owner.addressNumber) }}
{{ form_widget(form.owner.addressStreet) }}
{{ form_widget(form.owner.address1) }}
{{ form_widget(form.owner.address2) }}
{{ form_widget(form.owner.addressPostalCode) }}
{{ form_widget(form.owner.addressCity) }}
{{ form_widget(form.owner.addressCountry) }}
{% if vehicle.getCertification().getNewCoHolder().getContact is not empty or vehicle.getCertification().getCoholderQuick() is not empty %}

{{ 'misiv.popup.subtitle.information_coholder'|trans({}, translationDomain) }}


{{ form_row(form.coholder.type) }}
{% if vehicle.getCertification().getNewCoHolder().getContact()|instanceof('AppBundle\\Entity\\Contact\\ContactIndividual') or vehicle.getCertification().getCoholderQuick()|instanceof('AppBundle\\Entity\\Contact\\ContactQuick\\ContactQuickIndividual') %}
{{ form_row(form.coholder.lastName) }} {{ form_row(form.coholder.firstName) }} {{ form_row(form.coholder.sex) }} {% if vehicle.getCertification().getNewCoHolder().getContact()|instanceof('AppBundle\\Entity\\Contact\\ContactIndividual') and vehicle.getCertification().getNewCoHolder().getContact().getDriver() %} {{ form_row(form.coholder.birthName) }} {% endif %} {% if vehicle.getCertification().getCoholderQuick()|instanceof('AppBundle\\Entity\\Contact\\ContactQuick\\ContactQuickIndividual') %}
{{ form_row(form.coholder.birthName) }} {{ form_row(form.coholder.birthDate) }} {{ form_row(form.coholder.birthPlace) }}
{% endif %}
{% endif %} {% if vehicle.getCertification().getNewCoHolder().getContact()|instanceof('AppBundle\\Entity\\Contact\\ContactProfessional') or vehicle.getCertification().getNewCoHolder().getContact()|instanceof('AppBundle\\Entity\\Contact\\ContactGroup') or vehicle.getCertification().getCoholderQuick()|instanceof('AppBundle\\Entity\\Contact\\ContactQuick\\ContactQuickProfessional') %}
{{ form_row(form.coholder.companyName) }}
{% endif %} {% endif %}
{{ form_row(form.pre_entry_to_misiv) }}
{{ form_row(form.send_to_misiv) }}
{{ form_end(form) }}