{{ $provider->business_name ?? $provider->first_name . ' ' . $provider->last_name }}
@if($dateFrom && $dateTo)Période : {{ \Carbon\Carbon::parse($dateFrom)->format('d/m/Y') }} - {{ \Carbon\Carbon::parse($dateTo)->format('d/m/Y') }}
@elsePériode : Tous les rendez-vous
@endifGénéré le {{ now()->format('d/m/Y à H:i') }}
| Date | Heure | Durée | Client | Service | Statut | Montant |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($appointment->start_time)->format('d/m/Y') }} | {{ \Carbon\Carbon::parse($appointment->start_time)->format('H:i') }} | {{ $duration }} min | {{ $appointment->client ? trim($appointment->client->first_name . ' ' . $appointment->client->last_name) : '-' }} | {{ $appointment->service->name ?? '-' }} | @php $statuses = ['scheduled' => 'Programmé', 'in_progress' => 'En cours', 'complete' => 'Terminé', 'late' => 'En retard', 'cancelled' => 'Annulé']; $statusClass = $appointment->status === 'complete' ? 'status-complete' : ($appointment->status === 'cancelled' ? 'status-cancelled' : 'status-scheduled'); @endphp {{ $statuses[$appointment->status] ?? $appointment->status }} | {{ number_format($appointment->price_at_booking ?? 0, 2, ',', ' ') }} {{ $currency }} |