@props(['client'])

{{ $client->full_name }}

{{ $client->full_name }}
@if($client->type === 'professionnel') @else @endif @if($client->birth_date) {{ $client->birth_date->age }} ans @endif Inscrit {{ $client->created_at->format('d/m/y') }} @if($client->trashed())
Archivé @endif

Confirmer l'archivage

Ce client sera archivé et pourra être restauré ultérieurement.

@csrf @method('DELETE')

Supprimer définitivement

Cette action est irréversible. Le client sera supprimé définitivement.

@csrf @method('DELETE')
@php $completedAppointments = $client->appointments()->where('status', 'complete')->count(); $unbilledCompletedAppointments = $client->appointments() ->where('status', 'complete') ->whereDoesntHave('payments') ->count(); @endphp
@if(!$client->trashed()) @else @endif @if($client->appointments()->count() === 0) @endif @if($client->phone) @endif @if(!$client->trashed()) @endif @if($unbilledCompletedAppointments > 0 && !$client->trashed()) @endif {{-- Menu Actions mobile --}}
Modifier
@if(!$client->trashed())
Nouveau RDV
@endif @if($unbilledCompletedAppointments > 0 && !$client->trashed())
Nouvelle facture
@endif @if(!$client->trashed()) @endif @if($client->trashed())
@csrf
@endif @if($client->appointments()->count() === 0) @endif