@extends('layouts.doctor.layout') @section('title') {{ $websiteLang->where('lang_key','treatment')->first()->custom_lang }} @endsection @section('doctor-content')
{{ $contact->address }}
{{ $setting->prescription_phone }}

{{ $appointment->doctor->name }}

{{ $appointment->doctor->designations }}

{{ $websiteLang->where('lang_key','patient_name')->first()->custom_lang }}: {{ $appointment->user->name }}
{{ $websiteLang->where('lang_key','age')->first()->custom_lang }}: {{ $appointment->user->age }} Years
{{ $websiteLang->where('lang_key','date')->first()->custom_lang }}: {{ date('m-d-Y',strtotime($appointment->date)) }}

{{ $websiteLang->where('lang_key','problem')->first()->custom_lang }}

{!! clean(nl2br(e($appointment->problem_description))) !!}

@if ($appointment->advice) @if ($appointment->advice->test_description != null)

{{ $websiteLang->where('lang_key','test')->first()->custom_lang }}

{!! clean(nl2br(e($appointment->advice->test_description))) !!}

@endif @endif
Rx
    @foreach ($appointment->prescribes as $prescribe)
  1. {{ $prescribe->medicine_name }}
    {{ $prescribe->dosage }} ({{ $prescribe->time }})
    {{ $prescribe->number_of_day }} {{ $websiteLang->where('lang_key','days')->first()->custom_lang }}
  2. @endforeach
@if ($appointment->advice) @if ($appointment->advice->advice != null)

{{ $websiteLang->where('lang_key','advice')->first()->custom_lang }}

{!! clean(nl2br(e($appointment->advice->advice))) !!}

@endif @endif
@if (Auth::guard('doctor')->user()->id==$appointment->doctor_id) {{ $websiteLang->where('lang_key','edit')->first()->custom_lang }} @endif
@endsection