@extends('admin.layouts.app') @section('title','Admin Dashboard') @section('page-title','Admin Dashboard') @section('page-subtitle','System overview for the selected conference year') @section('dashboard-active','active') @section('content')
Total Participants

{{ number_format($stats['totalParticipants']) }}

Total Papers

{{ number_format($stats['totalPapers']) }}

Accepted: {{ $stats['acceptedPapers'] }}
Total Revenue

₦{{ number_format($stats['totalRevenue'], 2) }}

{{ $stats['successfulPayments'] }} successful
Checked-in

{{ number_format($stats['checkedIn']) }}

@if($stats['totalParticipants'] > 0){{ round(($stats['checkedIn'] / $stats['totalParticipants']) * 100, 1) }}%@else 0%@endif
Registration Trend
@if($stats['registrationTrend']->isNotEmpty())
@php $max = max(1, $stats['registrationTrend']->max('total')); @endphp @foreach($stats['registrationTrend'] as $point)
@endforeach
@else

No registration data yet.

@endif
Paper & Payment Summary

Pending papers: {{ $stats['pendingPapers'] }}

Rejected papers: {{ $stats['rejectedPapers'] }}

Pending payments: {{ $stats['pendingPayments'] }}

Certificate downloads: {{ $stats['certDownloads'] }}

Certificates emailed: {{ $stats['certEmails'] }}


Conference documents: {{ $stats['totalDocuments'] }} ({{ $stats['publishedDocuments'] }} published)

Presentations uploaded: {{ $stats['totalPresentations'] }}

Pending presentation approvals: {{ $stats['pendingPresentationApprovals'] }}

Presenters yet to upload: {{ $stats['presentersWithoutUpload'] }}

Assigned speakers: {{ $stats['totalSpeakers'] }}

Speakers yet to upload: {{ $stats['speakersWithoutUpload'] }}

Pending speaker approvals: {{ $stats['pendingSpeakerApprovals'] }}

@if($stats['mostDownloadedResource'])

Most downloaded resource: {{ Str::limit($stats['mostDownloadedResource']->title, 40) }} ({{ $stats['mostDownloadedResource']->download_count }} downloads)

@endif

Early bird registrations: {{ $stats['earlyBirdRegistrations'] }}

Regular registrations: {{ $stats['regularRegistrations'] }}

Late registrations: {{ $stats['lateRegistrations'] }}

Virtual participants: {{ $stats['virtualParticipants'] }} · Physical: {{ $stats['physicalParticipants'] }}

Spouse registrations: {{ $stats['spouseRegistrations'] }} · Foreign: {{ $stats['foreignParticipants'] }}

Virtual access messages sent: {{ $stats['virtualAccessSent'] }}

Recent Activities
@forelse($stats['recentActivities'] as $activity) @empty @endforelse
{{ $activity->action }} @if($activity->description)- {{ Str::limit($activity->description, 60) }}@endif{{ \Carbon\Carbon::parse($activity->created_at)->diffForHumans() }}
No recent activity.
@endsection