@extends('layouts.admin') @section('title', __('Events Analytics')) @section('content')

{{ __('Events Analytics') }}

{{ __('Comprehensive analytics and insights for your events') }}

{{ __('Total Events') }}
{{ number_format($stats['total_events']) }}
{{ __('Total Registrations') }}
{{ number_format($stats['total_registrations']) }}
{{ __('Upcoming Events') }}
{{ number_format($stats['upcoming_events']) }}
{{ __('Total Revenue') }}
${{ number_format($stats['total_revenue'], 2) }}
{{ __('Events Created Over Time') }}
{{ __('Event Status Distribution') }}
{{ __('Recent Registrations') }}
@if($recent_registrations->count() > 0)
@foreach($recent_registrations as $registration) @endforeach
{{ __('Event') }} {{ __('Attendee') }} {{ __('Email') }} {{ __('Registration Date') }} {{ __('Amount') }} {{ __('Status') }}
{{ $registration->event->title_en ?? $registration->event->title_ar }} {{ $registration->full_name }} {{ $registration->email }} {{ $registration->created_at->format('M d, Y H:i') }} @if($registration->payment_amount) ${{ number_format($registration->payment_amount, 2) }} @else {{ __('Free') }} @endif {{ __('Confirmed') }}
@else
{{ __('No registrations yet') }}

{{ __('Registrations will appear here once attendees sign up for events.') }}

@endif
@endsection @push('styles') @endsection @push('scripts') @endsection