@php $setting = App\Models\Setting::where('name', 'date_formate')->first(); $dateformate = $setting ? $setting->val : 'Y-m-d'; $setting = App\Models\Setting::where('name', 'time_formate')->first(); $timeformate = $setting ? $setting->val : 'h:i A'; $encounter_date = isset($data['encounter_date']) ? date($dateformate, strtotime($data['encounter_date'] ?? '--' )) : '--'; @endphp
  • {{ __('appointment.lbl_name') }}: {{ $data['user']['first_name'] . ' ' . $data['user']['last_name'] ?? '--' }}
  • {{ __('appointment.lbl_email') }}:{{ $data['user']['email'] ?? '--' }}
  • {{ __('appointment.lbl_encounter_date') }}:{{ $encounter_date ?? '--' }}
  • {{ __('appointment.address') }}:{{ $data['user']['address'] ?? '--' }}
  • {{ __('appointment.lbl_clinic_name') }}: {{ $data['clinic']['name'] ?? '--' }}
  • {{ __('appointment.lbl_doctor_name') }}: {{ $data['doctor']['first_name'] . ' ' . $data['user']['last_name'] ?? '--' }}
  • {{ __('appointment.lbl_description') }}: {{ $data['description'] ?? '--' }}
@php $selectedProblemList = $data->selectedProblemList; $selectedObservationList = $data->selectedObservationList; $notesList = $data->notesList; @endphp @if(!empty($selectedProblemList) && !empty($selectedObservationList) && !empty($notesList)) @foreach($selectedProblemList as $index => $problem) @endforeach @endif

{{ __('appointment.lbl_no') }}

{{ __('appointment.lbl_problem') }}

{{ __('appointment.lbl_observation') }}

{{ __('appointment.lbl_notes') }}

{{ $index + 1 }} {{ $problem->title ?? '--' }} {{ isset($selectedObservationList[$index]) ? $selectedObservationList[$index]->title ?? '--' : '--' }} {{ isset($notesList[$index]) ? $notesList[$index]->title ?? '--' : '--' }}
@php $prescriptionsList = $data->prescriptions; @endphp @if(!empty($prescriptionsList)) @foreach($prescriptionsList as $index => $prescription) @endforeach @endif

{{ __('appointment.lbl_name') }}

{{ __('appointment.lbl_frequency') }}

{{ __('appointment.lbl_duration') }}

{{ $prescription->name ?? '--' }}

{{ $prescription->instruction ?? '--' }}

{{ $prescription->frequency ?? '--' }} {{ $prescription->duration ?? '--' }}
{{ __('appointment.lbl_other_detail') }} {{ $data->other_details ?? '--' }}
{{ __('appointment.lbl_doctor_sign') }} :