@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') }}: Dr.{{ $data['doctor']['first_name'] . ' ' . $data['doctor']['last_name'] ?? '--' }}
  • {{ __('appointment.lbl_description') }}: {{ $data['description'] ?? '--' }}
@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_doctor_sign') }} :