@foreach($appointments as $appointment) @endforeach
{{ __('messages.common.no') }} {{ __('messages.case.patient') }} {{ __('messages.case.doctor') }} {{ __('messages.appointment.doctor_department') }} {{ __('messages.appointment.description') }} {{ __('messages.appointment.date') }}
{{ $loop->iteration }} {{ !empty($appointment->patient) ? $appointment->patient->user->full_name : __('messages.common.n/a') }} {{ !empty($appointment->patient) ? $appointment->doctor->user->full_name : __('messages.common.n/a') }} {{ !empty($appointment->patient) ? $appointment->doctor->department->title : __('messages.common.n/a')}} {!! !empty($appointment->problem) ? nl2br(e($appointment->problem)) : __('messages.common.n/a') !!} {{ !empty($appointment->opd_date) ? date('jS M, Y g:i A', strtotime($appointment->opd_date)) : __('messages.common.n/a') }}