@extends('layouts/layoutMaster') @section('title', 'TMH System') @section('vendor-style') @vite(['resources/assets/vendor/libs/apex-charts/apex-charts.scss', 'resources/assets/vendor/libs/swiper/swiper.scss', 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-checkboxes-jquery/datatables.checkboxes.scss']) @endsection @section('page-style') @vite(['resources/assets/vendor/scss/pages/cards-advance.scss']) @endsection @section('vendor-script') @vite(['resources/assets/vendor/libs/apex-charts/apexcharts.js', 'resources/assets/vendor/libs/swiper/swiper.js', 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js']) @endsection @section('page-script') @vite(['resources/assets/js/dashboards-analytics.js']) @endsection @section('content')
@if (Auth::user()->hasRole('admin') || Auth::user()->can('manage doctors'))
Doctors

{{ $doctorCount }}

Total Doctors

(Added today: {{ $doctorsAddedToday }})
@else
Doctors

{{ $doctorCount }}

Total Doctors

(Added today: {{ $doctorsAddedToday }})
@endif
@if (Auth::user()->hasRole('admin') || Auth::user()->can('manage patients'))
Patients

{{ $patientCount }}

Total Patients

(Added today: {{ $patientsAddedToday }})
@else
Patients

{{ $patientCount }}

Total Patients

(Added today: {{ $patientsAddedToday }})
@endif
@if (Auth::user()->hasRole('admin') || Auth::user()->can('manage ipd'))
Inpatient Dept.

{{ $ipdPatientCount }}

Inpatient Records

(Added today: {{ $ipdPatientsAddedToday }})
@else
Inpatient Dept.

{{ $ipdPatientCount }}

Inpatient Records

(Added today: {{ $ipdPatientsAddedToday }})
@endif
@if (Auth::user()->hasRole('admin') || Auth::user()->can('manage ipd'))
Outpatient Dept.

{{ $opdPatientCount }}

Outpatient Records

(Added today: {{ $opdPatientsAddedToday }})
@else
Outpatient Dept.

{{ $opdPatientCount }}

Outpatient Records

(Added today: {{ $opdPatientsAddedToday }})
@endif
@if (Auth::user()->hasRole('admin') || Auth::user()->can('manage notes'))
Operational Notes

{{ $operationalNoteCount }}

Operational Notes

(Added today: {{ $operationalNotesAddedToday }})
@else
Operational Notes

{{ $operationalNoteCount }}

Operational Notes

(Added today: {{ $operationalNotesAddedToday }})
@endif
@if (Auth::user()->hasRole('admin') || Auth::user()->can('manage discharge'))
Discharge Plans

{{ $dischargePlanCount }}

Discharge Plans

(Added today: {{ $dischargePlansAddedToday }})
@else
Discharge Plans

{{ $dischargePlanCount }}

Discharge Plans

(Added today: {{ $dischargePlansAddedToday }})
@endif
@endsection