@extends('layouts.app') @section('title', 'Interventions') @section('content')

Mes Interventions

Retour
Nouvelle intervention
@if(count($interventions) > 0)
@foreach($interventions as $intervention) @if($intervention->technician_id == Auth::id())

{{ $intervention->last_name }} {{ $intervention->first_name }}

Pack {{ $intervention->pack === 'standard' ? 'Standard' : 'UV' }}

{{ \Carbon\Carbon::parse($intervention->date)->format('d F Y') }}

{{ $intervention->email }}

{{ $intervention->address }}

{{ $intervention->technician_name }}

{{ \Carbon\Carbon::parse($intervention->created_at)->diffForHumans() }}
@endif @endforeach
{{ $interventions->links() }}
@else

Aucune intervention ne correspond à vos critères de recherche.

@endif
@endsection @section('scripts') @endsection