{{ $nextAppointment ? 'Prochain RDV' : 'Aucun RDV prévu' }}
@if($nextAppointment){{ $nextAppointment->start_time->format('d/m/Y · H:i') }}
@else Rendez-vous @endifDernière visite
@php $lastVisit = $client->appointments() ->where('status', 'complete') ->orderBy('start_time', 'desc') ->first(); @endphp @if($lastVisit) {{ $client->last_visit_text }} @else{{ $client->last_visit_text }}
@endifChiffre d'affaires généré
{{ format_currency($kpis['total_revenue']) }} TND
@if($kpis['total_revenue'] >= 5000) Client important @endifDépense moyenne
@if($client->average_spending){{ format_currency($client->average_spending) }} TND / visite
@elseAucune dépense
@endifVisites récentes (19j)
{{ $client->loyalty_text }}
Fréquence
{{ $client->visit_frequency_text }}