{{$appointment->patient->user->full_name}}
{{$appointment->doctor->user->full_name}}

{{ $appointment->doctor->department->title }}

{{ $appointment->created_at->diffForHumans() }}
{{ $appointment->updated_at->diffForHumans() }}

{{ ($appointment->is_completed === \App\Models\Appointment::STATUS_COMPLETED) ? __('messages.appointment.completed') : __('messages.appointment.pending') }}

{{ isset($appointment->opd_date) ? \Carbon\Carbon::parse($appointment->opd_date)->translatedFormat('jS M, Y g:i A') : __('messages.common.n/a') }}
{!! !empty($appointment->problem) ? nl2br(e($appointment->problem)) : __('messages.common.n/a') !!}