@php $is_hidden = 'd-none'; if(in_array($user_role, ["7","8"])){ $is_hidden = ''; } $type = isset($type)?'_'.$type:''; $v_count = isset($v_count)?($v_count+1):0; @endphp
@if($visitor_history) @php $history = $visitor_history; $indexing = $v_count; @endphp @if(isset($header))
@endif @if(!empty($history))

{{ \Carbon\Carbon::parse($history->appointment->appointment_date)->format('d-M-Y') }} {{$history->appointment->start_time}} {{ isset($history->appointment->doctor->name)?'By : Dr '.$history->appointment->doctor->name:'' }}

@if(isset($patient->name))

P{{$patient->id}} : {{$patient->name}} ( {{ isset($patient->dob_or_age) ? \Carbon\Carbon::parse($patient->dob_or_age)->age : '' }} {{ isset($patient->dob_or_age) && isset($patient->gender) ? ', ' : '' }} {{ isset($patient->gender) ? $patient->gender : '' }} ) {{ isset($patient->phone) ? '- ' . $patient->phone : '' }} {{ isset($patient->address) ? '- ' . $patient->address : '' }}

@isset($patient->referred_by)

Referred By: {{ $patient->referred_by }}

@endisset @endif
@endif @endif
@if(isset($footer))
@endif