@extends('layouts.app') @section('title', 'Noter le client - ' . $client->name) @push('styles') @endpush @section('content')

Évaluer le client

@php $clientName = is_object($client) ? ($client->name ?? 'Client') : 'Client'; $clientPhoto = is_object($client) ? ($client->profile_photo_url ?? null) : null; @endphp @if($clientPhoto) {{ $clientName }} @else
@endif {{ $clientName }}
Prestation du {{ $booking->start_datetime ? $booking->start_datetime->format('d/m/Y') : 'N/A' }} - {{ $booking->service->name ?? 'Service' }}
@csrf
Note globale *
@for($i = 5; $i >= 1; $i--) @endfor
@error('rating')

{{ $message }}

@enderror
Ponctualité
@foreach(['excellent' => 'Excellent', 'good' => 'Bon', 'average' => 'Moyen', 'poor' => 'Mauvais'] as $value => $label)
@endforeach
Communication
@foreach(['excellent' => 'Excellent', 'good' => 'Bon', 'average' => 'Moyen', 'poor' => 'Mauvais'] as $value => $label)
@endforeach
Respect
@foreach(['excellent' => 'Excellent', 'good' => 'Bon', 'average' => 'Moyen', 'poor' => 'Mauvais'] as $value => $label)
@endforeach
Travailleriez-vous à nouveau avec ce client ?
Oui, je recommande ce client
Commentaire (optionnel)
0/1000 caractères
@error('comment')

{{ $message }}

@enderror
Annuler et revenir plus tard
@endsection