{{$patient['name']}}

@if(!empty($patient['avatar'])&&\File::exists('uploads/patient-avatar/'.$patient['avatar'])) @endif @if(isset($invoice)) @if(isset($invoice['referral'])) @endif @if(isset($invoice['from_laboratory'])) @endif @if(isset($invoice['contract'])) @endif @if(isset($invoice['company'])) @endif @if(isset($invoice['model_no'])) @endif @if(isset($invoice['approval_no'])) @endif @endif
{{__('Photo')}}
{{__('Number of patient visits')}} {{$patient['invoices_count']}}
{{__('Number of previous visits')}} {{$invoice['prev_count']}}
{{__('Referral')}} {{$invoice['referral']['name']}}
{{__('From lab')}} {{$invoice['from_laboratory']['name']}}
{{__('Contract')}} {{$invoice['contract']['name']}}
{{__('Company')}} {{$invoice['company']['name']}}
{{__('Model No')}} {{$invoice['model_no']}}
{{__('Approval No')}} {{$invoice['approval_no']}}
{{__('Name')}} {{$patient['name']}}
{{__('Passport No.')}} {{$patient['passport_no']}}
{{__('Gender')}} {{__($patient['gender'])}}
{{__('Date of birth')}} {{$patient['dob']}}
{{__('Age')}} @if(isset($invoice)) {{$invoice['patient_age_'.app()->getLocale()]}} @else {{$patient['age_locale']}} @endif
{{__('Phone')}} {!! $patient['full_phone_html'] !!}
{{__('Alt. Phone')}} {{ $patient['alt_phone'] }}
{{__('Email')}} {!! $patient['email_html'] !!}
{{__('Address')}} {{$patient['address']}}
@can('admin') @canAny(['view_service_rating_invoice','view_service_rating_medical_report']) @if(isset($invoice)&&$invoice['rating'])
{{__('Rating')}} : @switch($invoice['rating']) @case(1) {{__('Very bad')}} @break @case(2) {{__('Bad')}} @break @case(3) {{__('Good')}} @break @case(4) {{__('Very Good')}} @break @case(5) {{__('Excellent')}} @break @endswitch
@endif @endcan @endcan