@extends('layout.admin_layout') @section('title', 'Doctor Details') @section('body') @section('header', 'Doctor Details') @section('badge') @endsection
{{ csrf_field() }}

Profile Image:
@if($doctor->profile_image!='') alt text here @else alt text here @endif

Doctor Id: DOC00{{$doctor->id}}

Name: {{$doctor->name}} {{$doctor->last_name}}

Email: {{$doctor->email}}

Phone: @if (str_contains($doctor->code, '+')) @else + @endif{{$doctor->code}} {{$doctor->phone}}

Gender: {{$doctor->sex}}

Address: {{$doctor->address}}

Skill Set / Specialization: {{doctors_speciality_m($doctor->id)}}

DEA: {{$doctor->dea}}

License: {{$doctor->license}}

NPI: {{$doctor->npi}}

@if($doctor->fee_per_consultation!='' && count($fee)==3)

Video consultation fees: $ {{$fee[0] }}

Audio consultation fees: $ {{$fee[1]}}

Chat consultation fees: $ {{$fee[2]}}

@endif

Practitional License:
@if($doctor->certificate_practice!='') @if($exp[3]=='pdf') @else @endif @else @endif

Registration No of Practitional License: {{$doctor->reg_no_p}}

About: {{$doctor->about}}

Qualification
@if($count==0) @else @foreach($s_results as $row) {{$row}}


@endforeach @endif

Certificates
@if($count==0) @else @foreach($s_results as $row) @if($ext[3] === "pdf")

@else

@endif @endforeach @endif

Registration No
@if($count==0) @else @foreach($s_results as $row) {{$row}}


@endforeach @endif

@if(count(avl_doc($doctor->id))>0)

Availability: (🟠Booked 🟢Available)

@endif
@if(count(avl_doc($doctor->id))>0) @foreach(avl_doc($doctor->id) as $key=>$row)
No Date Time Duration Slot Duration Patient Consultation Type
{{$key+1}} {{$row->day}},{{date( 'm/d/Y', strtotime($row->date))}} ({{$row->type}})