@extends('admin.layouts.app') @section('top_css') @endsection @section('content')
Total Patients

{{ $totalPatients }}

Total Reports

{{ $totalReports }}

Pending Reports

{{ $pendingReports }}

Recent Reports

{{ $recentReports->count() }}

Recent Lab Reports

Upload New Report
@forelse($recentReports as $key => $report) @empty @endforelse
S.No. Patient Name Report Name Test Date Status Actions
{{ $key + 1 }} {{ $report->patient->name ?? 'N/A' }} {{ $report->patient->patient_code ?? '' }} {{ $report->report_name }} {{ date('d-M-Y', strtotime($report->test_date)) }} @if($report->status == 1) Active @else Inactive @endif
No lab reports found
@endsection @section('bottom_js') @endsection