{{ __('appointment.lbl_prescription') }}
@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'] ?? '--' }}
{{ __('appointment.lbl_name') }} |
{{ __('appointment.lbl_frequency') }} |
{{ __('appointment.lbl_duration') }} |
---|---|---|
{{ $prescription->name ?? '--' }}{{ $prescription->instruction ?? '--' }} |
{{ $prescription->frequency ?? '--' }} | {{ $prescription->duration ?? '--' }} |