@extends('User/layout/app') @section('content')
@if (Auth::user()->user_role == 'Admin')
{{--
--}} @elseif (Auth::user()->user_role == 'TLM')
{{--
--}} @elseif (Auth::user()->user_role == 'SLM')
{{--
--}} @elseif (Auth::user()->user_role == 'FLM') {{--
--}} @endif
 
Total Enrolled Doctor

{{ $doctorCount }}

Total Patient

{{ $patientCount }}

Total Purchased Cartridges

{{ $totalCartridgesSum }}

{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar
Total Patients EnrolledLoading...
Total Cartridges PurchasedLoading...
Total Doctors EnrolledLoading...
Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar
Total Patients Enrolled 01 09 10 12 01 09 10 12 01 09 10 -
Total Cartridges Purchased 01 09 10 12 01 09 10 12 01 09 10 -
Total Doctors Enrolled 01 09 10 12 01 09 10 12 01 09 10 -
@if (Auth::user()->user_role === 'Admin')
@else
@endif
{{--

Top 10 Doctor's list

{{ $currentMonth }} {{ $currentYear }}

--}}

Top 10 Doctor's list

Sr No Doctor Name SC Code Speciality Patient Count Total Cartridges
{{-- admin-only --}} @if (Auth::user()->user_role === 'Admin')

Top 10 User's list

Sr No Employee Name Employee Code Total Doctor Enrolled Total Patients Enrolled Total Cartridges
@endif
@if (Auth::user()->user_role === 'Admin')
@endif
@endsection @section('js') {{-- FY year data show monthly wise --}} {{-- Top 10 Doctor's list apply filter --}} {{-- Top 10 User's list with filter ( only for ADMIN ) --}} {{-- --> --}} @endsection