@extends('admin.dashboard.layouts.app') @section('main')

Doctor

Doctors List

@if (Auth::user()->role=='admin') @endif
{{-- Will show subcategory --}} @php $sl = 1; @endphp @foreach ($doctors as $doctor) {{-- Show SubCategory as Category --}} @endforeach
#SL Status Editing Status Name CategoryDegree Higher Degree Phone Email Work Place Specialist Experience Charge Image Categorize Priority About Action
{{ $sl++ }}
{{ $doctor->d_name }} {{ $doctor->subcategories->subcategory_name ?? 'Not Selected' }}{{ $doctor->d_degree }} {{ $doctor->d_higher_degree }} {{ $doctor->d_phone }} {{ $doctor->d_email }} {{ $doctor->work_place }} {{ $doctor->specialist_in }} {{ $doctor->d_experience }} {{ $doctor->charge }} Doctor Image {{ $doctor->categorize_priority }} {{ $doctor->d_about }}
@if ($doctor->is_editable==1 || isAdmin()) @endif @if (isAdmin())
@method('DELETE') @csrf
@endif
#SL Status Editing Status Name Category Degree Higher Degree Phone Email Work Place Specialist Experience Charge Image Categorize Priority About Action
@endsection