@if(Auth::user()->hasRole('Patient|Doctor|Case Manager|Nurse|Pharmacist|Lab Technician'))
    <div class="d-flex align-items-center">
        <div class="image image-circle image-mini me-3">
            <a href="{{url('employee/doctor') . '/' .$row->id}}">
                <div>
                    <img src="{{$row->doctorUser->image_url}}" alt=""
                         class="user-img rounded-circle object-contain" height="35" width="35">
                </div>
            </a>
        </div>
        <div class="d-flex flex-column">
            <a href="{{url('employee/doctor') . '/' . $row->id}}"
               class="text-decoration-none mb-1">{{$row->doctorUser->full_name}}</a>
            <span>{{$row->doctorUser->email}}</span>
        </div>
    </div>
@else
    <div class="d-flex align-items-center">
        <div class="image image-mini me-3">
            <a href="{{ url('doctors').'/'.$row->id  }}">
                <div class="">
                    <img src="{{$row->doctorUser->image_url}}" alt="" class="user-img rounded-circle image">
                </div>
            </a>
        </div>
        <div class="d-flex flex-column">
            <a href="{{ url('doctors').'/'.$row->id  }}" class="mb-1 text-decoration-none">{{$row->doctorUser->full_name}}</a>
            <span>{{$row->doctorUser->email}}</span>
        </div>
    </div>
@endif
