@extends('layouts.app') @section('morecss') @endsection @section('content')

Intervention

@if (session('status')) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{$error}}
  • @endforeach
@endif @if(session()->has('message'))
{!! session('message') !!}
@endif

Descriptif détaillé de l'intervention

{{$intervention->scheduled_at?\Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $intervention->scheduled_at)->isoFormat('LLLL'):''}}

{{$intervention['descriptif']}}

Prestataire

@if ($intervention->user)

{{$intervention->user->fullname}}

@else

Prestataire supprimé

@endif

Montant : {{$intervention->montant_prestation_ht}} eur HT

Client

@if ($intervention->demande->user)

{{$intervention->demande->user->fullname}}

Téléphone {{$intervention->demande->user->telephone}}

{{$intervention->demande->adresse->adresse}}
@else

Client supprimé

@endif {{$intervention->demande->adresse->commune->nom}}

Voir la demande client

@if (count($intervention->demande->messages)) ({{count($intervention->demande->messages)}} messages dont {{count($intervention->demande->messages->where('lu','=',null))}} non lus) @endif
@endsection