@extends('layouts.admin.layout') @section('title') {{ $websiteLang->where('lang_key','doctor')->first()->custom_lang }} @endsection @section('admin-content')

{{ $websiteLang->where('lang_key','create')->first()->custom_lang }}

{{ $websiteLang->where('lang_key','doc_table')->first()->custom_lang }}
@foreach ($doctors as $index => $item) @endforeach
{{ $websiteLang->where('lang_key','serial')->first()->custom_lang }} {{ $websiteLang->where('lang_key','name')->first()->custom_lang }} {{ $websiteLang->where('lang_key','email')->first()->custom_lang }} {{ $websiteLang->where('lang_key','phone')->first()->custom_lang }} {{ $websiteLang->where('lang_key','fee')->first()->custom_lang }} {{ $websiteLang->where('lang_key','img')->first()->custom_lang }} {{ $websiteLang->where('lang_key','status')->first()->custom_lang }} {{ $websiteLang->where('lang_key','action')->first()->custom_lang }}
{{ ++$index }} {{ $item->name }} {{ $item->email }} {{ $item->phone }} {{ $currency->currency_icon }}{{ $item->fee }} doctor image @if ($item->status==1) @else @endif @php $schedule_count=$schedules->where('doctor_id',$item->id)->count(); $message_count_one=$messages->where('to',$item->id)->count(); $message_count_two=$messages->where('from',$item->id)->count(); $appointment_count=$appointments->where('doctor_id',$item->id)->count(); @endphp @if ($schedule_count==0 && $message_count_one==0 && $message_count_two==0 && $appointment_count==0) @endif
@endsection