{% extends "base.html" %} {% block title %}{{ vehicule.immatriculation }} — GarageManager{% endblock %} {% block content %} Retour aux véhicules
{{ vehicule.marque }} {{ vehicule.modele }} {% if vehicule.annee %} — {{ vehicule.annee }}{% endif %} {% if vehicule.kilometrage %} — {{ vehicule.kilometrage }} km{% endif %}
{% if vehicule.vin %}VIN : {{ vehicule.vin }}
{% endif %}| Description | Date | Kilométrage | Pièces | Total |
|---|---|---|---|---|
|
{{ i.description }} {% if i.technicien %}{{ i.technicien }} {% endif %} |
{{ i.date_intervention or '—' }} | {{ (i.kilometrage_intervention|string + ' km') if i.kilometrage_intervention else '—' }} |
{{ i.nb_pieces }} pce(s) {{ "%.2f"|format(i.cout_pieces) }} € |
{{ "%.0f"|format(i.cout_main_oeuvre + i.cout_pieces) }} € |
| Total véhicule | {{ "%.0f"|format(interventions|sum(attribute='cout_main_oeuvre') + interventions|sum(attribute='cout_pieces')) }} € | |||
Aucune intervention
Créer →Récapitulatif de toutes les pièces de toutes les interventions — pour les retrouver et racheter facilement.
{% if toutes_pieces %}| Photo | Pièce | Référence | Marque | Prix unit. | Qté | Intervention | Date |
|---|---|---|---|---|---|---|---|
|
{% if p.photo %}
{% endif %}
|
{{ p.nom }} | {{ p.reference or '—' }} | {{ p.marque or '—' }} | {{ "%.2f"|format(p.prix) }} € | {{ p.quantite }} | {{ p.intervention_desc[:40] }}{% if p.intervention_desc|length > 40 %}…{% endif %} | {{ p.date_intervention or '—' }} |
Aucune pièce enregistrée
Les pièces s'affichent ici dès qu'elles sont ajoutées dans une intervention.{{ info.titre }}
{% endif %} {% if info.type == 'texte' %}{{ info.contenu }}
{% elif info.type == 'url' %} 🔗 {{ info.contenu }} {% elif info.type == 'image' %}{{ info.created_at[:10] }}
Aucune info pour l'instant