@php use App\Models\StudentBiodata; $UserID = auth()->guard('admin')->user()->id; $UserRole = auth()->guard('admin')->user()->role; @endphp @extends('admin.main') @section('content')

Dashboard

{{--
--}}
@csrf
{{-- --}}
Doctor Performance
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @if (!empty($data)) @foreach ($data as $key => $item) @php $StudentBiodataCount = StudentBiodata::where('deleted', 0) ->where(function ($query) use ($item) { $query->where('created_by', $item->UserID)->orWhere('updated_by', $item->UserID); }) ->count(); @endphp @endforeach @endif
S.no Doctor Name Designation No of Forms Medical History Screening Forms Reviewed Gender School City Area Age Phone Gr No.Enter ByDurationCreated AtAction
{{ $key + 1 }} {{ $item->fullname }} @if(!empty($item->designation) && $item->designation == 1) Doctor @elseif(!empty($item->designation) && $item->designation == 2) Nutritionist @elseif(!empty($item->designation) && $item->designation == 3) Psychologist @else N/A @endif {{ $item->count }} {{$StudentBiodataCount}} {{ $item->scan_count }}
@endsection