Appointment List

@foreach($appt as $appointment) {{-- --}} @endforeach
Date Time Client name Appointment type Duration Service provider
{{ date('d/m/Y', strtotime($appointment->date)) }} {{ date('h:i a' ,strtotime($appointment->time)) }}{{ $appointment->clients->name ?? "".' '.$appointment->clients->last_name ?? "" }}{{ $appointment->full_name ?? ""}} {{ $appointment->appointment_type != null ? $appointment->appointment_type->appointment_type : ''}} {{ $appointment->durations->duration ?? "" }} {{ (isset($appointment->service_provider) && $appointment->service_provider !='') ? $appointment->service_provider == 'self' ? $appointment->practitioner_name->first_name.' '.$appointment->practitioner_name->last_name : $appointment->serviceProvider->first_name.' '.$appointment->serviceProvider->last_name :'Not Specified' }}