@extends('layouts.app') @section('title', 'Admin Dashboard') @section('content')

Admin Dashboard

System Management & Statistics

Total Reports

{{ $stats['total_reports'] }}

Pending

{{ $stats['pending_reports'] }}

Completed

{{ $stats['completed_reports'] }}

Departments

{{ $stats['total_departments'] }}

Total Users

{{ $stats['total_users'] }}

Recent Reports
@if($recent_reports->count() > 0)
@foreach($recent_reports as $report) @endforeach
Report # Audit Type Department Auditor Status Date Action
{{ $report->report_number }} {{ $report->auditType->name }} {{ $report->department->name }} {{ $report->auditor->name }} {!! $report->status_badge !!} {{ $report->created_at->format('d M Y') }} View
@else

No reports yet

@endif
@endsection