@if ($appointment ?? ''->isNotEmpty()) @foreach ($appointment ?? '' ?? '' as $appoint) @endforeach @endif @extends('admin.layout.index') @section('content') Doccure
@if ($appointment ?? ''->isNotEmpty()) @foreach ($appointment ?? '' ?? '' as $appointment)
User Image

{{DB::table('users')->where('id',$appointment->patient_id)->value('name')}}

{{ date('d-M-Y', strtotime($appointment->appointment_date ))}} - {{$appointment->appointment_time}}
{{$appointment->userDetails ? $appointment->userDetails->location : 'N/A'}}
{{$appointment->user->email}}
{{$appointment->userDetails ? $appointment->userDetails->contact_person : 'N/A'}}
Upload Report
@method('put') @csrf
@method('put') @csrf
@endforeach @endif
@endsection