{% extends 'base.html.twig' %} {% block body %}

Détails véhicule
{% if vehicule.modele %} {% endif %} {% if vehicule.immatriculation %} {% endif %} {% if vehicule.genre %} {% endif %} {% if vehicule.energie %} {% endif %} {% if vehicule.couleur %} {% endif %} {% if vehicule.ingredient %} {% endif %} {% if vehicule.type %} {% endif %} {% if vehicule.carosserie %} {% endif %} {% if vehicule.dateMiseEnCirculation %} {% endif %} {% if vehicule.places %} {% endif %} {% if vehicule.puissanceFiscale %} {% endif %} {% if vehicule.kilometrage %} {% endif %} {% if vehicule.numMoteur %} {% endif %} {% if vehicule.numBoiteAVitesse %} {% endif %} {% if vehicule.dateEntree %} {% endif %}
Photo véhicule {% set vehiculePhoto = vehicule.mainPhoto ? asset('uploads/vehicules/' ~ vehicule.mainPhoto) : (vehicule.brand and vehicule.brand.defaultVehiculePhoto ? asset('uploads/marques/photos/' ~ vehicule.brand.defaultVehiculePhoto) : null) %} {% if vehiculePhoto %}
{{ vehicule.immatriculation }}
{% else %} Aucune photo disponible {% endif %}
Logo marque {% if vehicule.brand and vehicule.brand.logo %}
{{ vehicule.brand.name }}
{% else %} Aucun logo {% endif %}
N° Châssis {{ vehicule.numChassis }}
Marque {{ vehicule.marque }}
Modèle {{ vehicule.modele }}
Immatriculation {{ vehicule.immatriculation }}
Genre {{ vehicule.genre }}
Energie {{ vehicule.energie }}
Couleur {{ vehicule.couleur }}
Ingredient {{ vehicule.ingredient }}
Type {{ vehicule.type }}
Carosserie {{ vehicule.carosserie }}
Date de mise en circulation {% if vehicule.dateMiseEnCirculation %}{{ vehicule.dateMiseEnCirculation|date('d-m-Y') }}{% endif %}
Nombre de places {{ vehicule.places }}
Puissance fiscale {{ vehicule.puissanceFiscale }}
Kilomètrage {{ vehicule.kilometrage }}
N° de moteur {{ vehicule.numMoteur }}
N° de boite à vitesse {{ vehicule.numBoiteAVitesse }}
Date d'entrée {% if vehicule.dateEntree %}{{ vehicule.dateEntree|date('d-m-Y') }}{% endif %}
Retour {% if app.user.aDroit('vehicule_modification') %} Modifier {% endif %} {% if app.user.aDroit('vehicule_suppression') %} {% endif %}
{{ form_start(delete_form) }} {{ form_end(delete_form) }}
{% if app.user.aDroit('reparation_consultation') and vehicule.getReparations() %}
Réparations
{% for vente in vehicule.getReparations() %} {% endfor %}
O.R. Date Véhicule Actions
{{ vente.numReparation }} {{ vente.dateReparation|date('d-m-Y') }} {{ vente.getVehicule().getImmatriculation() }}
{% endif %}
{% endblock %}