Intervention #{{ $intervention->id ?? 'N/A' }} @if(!empty($intervention->reference)) ({{ e($intervention->reference) }}) @endif
@if(isset($intervention->created_at) && $intervention->created_at instanceof \Carbon\Carbon) Créée le {{ $intervention->created_at->format('d/m/Y à H:i') }} @if(isset($intervention->updated_at) && $intervention->updated_at instanceof \Carbon\Carbon && $intervention->updated_at->ne($intervention->created_at)) • Dernière mise à jour : {{ $intervention->updated_at->format('d/m/Y à H:i') }} @endif @else Date de création non disponible @endif
Véhicule
Planning & Dates
Détails Techniques
Description & Symptômes
{{ e($intervention->description) }}
-
@foreach($symptomes as $symptome)
@if(is_string($symptome) && trim($symptome) !== '')
- {{ e($symptome) }} @endif @endforeach
{{ e($symptomes) }}
@endifGalerie Photos
@php // Récupération du tableau de photos avec vérification $photos = $intervention->photos ?? null; $hasPhotos = false; // Vérifier si photos est un tableau non vide if (is_array($photos) && count(array_filter($photos, 'is_string')) > 0) { $hasPhotos = true; } @endphp @if($hasPhotos)Aucune photo disponible
Aucune photo n'a été téléchargée pour cette intervention. Les photos aident les techniciens à mieux comprendre la panne.
@if(auth()->check() && isset($intervention->user_id) && $intervention->user_id === auth()->id()) @endifActeurs
Coût & Commentaires
{{ e($intervention->commentaire) }}
{{ e($intervention->technicien?->name ?? 'Technicien') }}
@if(!empty($intervention->date_commentaire)){{ \Carbon\Carbon::parse($intervention->date_commentaire)->format('d/m/Y à H:i') }}
@endif