Horaires de travail

@if($schedules->count() > 0)
@foreach($schedules as $schedule) @endforeach
Date Client Adresse Horaires Heures Statut Actions
{{ $schedule->work_date_formatted ?? \Carbon\Carbon::parse($schedule->work_date)->format('d/m/Y') }}
@if(!empty($schedule->client_logo_url)) {{ $schedule->client_name }} @endif
{{ $schedule->client_name ?? 'Client inconnu' }}
@if(!empty($schedule->client_type)) {{ ucfirst($schedule->client_type) }} @endif
{{ $schedule->address_street ?? 'Adresse non spécifiée' }} @if(!empty($schedule->address_city))
{{ $schedule->address_city }} {{ $schedule->address_postal_code }} @endif
{{ substr($schedule->start_time ?? '', 0, 5) }} - {{ substr($schedule->end_time ?? '', 0, 5) }} {{ number_format($schedule->hours_worked ?? 0, 1, ',', ' ') }}h @if((int)$schedule->status === 1) Validé @else En attente @endif
@else

Aucun horaire pour ce mois

@endif