@extends('layouts.master') @section('content')
Analytics {{$k}}

Total Peserta

Total peserta Paid

Double Nama Peserta

Total peserta Exp

%

Persentase

Participant Registration Chart
Target Achievement

Peserta

Participant age
    @foreach ($ageStats as $age) @php $icon = match($age->age_group) { '1 - 10 years' => ['icon' => 'baby', 'color' => 'text-red-500 bg-red-100 dark:bg-red-500/20'], '11 - 20 years' => ['icon' => 'users-2', 'color' => 'text-sky-500 bg-sky-100 dark:bg-sky-500/20'], '21 - 30 years' => ['icon' => 'heart-handshake', 'color' => 'text-orange-500 bg-orange-100 dark:bg-orange-500/20'], '31 - 40 years' => ['icon' => 'user', 'color' => 'text-yellow-500 bg-yellow-100 dark:bg-yellow-500/20'], '41 - 50 years' => ['icon' => 'user-check', 'color' => 'text-blue-500 bg-blue-100 dark:bg-blue-500/20'], '51 - 60 years' => ['icon' => 'user-cog', 'color' => 'text-indigo-500 bg-indigo-100 dark:bg-indigo-500/20'], '61+ years' => ['icon' => 'scan-face', 'color' => 'text-green-500 bg-green-100 dark:bg-green-500/20'], default => ['icon' => 'alert-triangle', 'color' => 'text-gray-500 bg-gray-100 dark:bg-gray-500/20'], }; @endphp
  • {{ $age->age_group }}

    {{ number_format($age->total) }}

    {{ $age->percentage }}%
  • @endforeach
@foreach ($allStats as $category)
{{ $category['category_label'] }}
    @foreach ($category['stats'] as $age) @php $icon = match($age->age_group) { '1 - 10 years' => ['icon' => 'baby', 'color' => 'text-red-500 bg-red-100 dark:bg-red-500/20'], '11 - 20 years' => ['icon' => 'users-2', 'color' => 'text-sky-500 bg-sky-100 dark:bg-sky-500/20'], '21 - 30 years' => ['icon' => 'heart-handshake', 'color' => 'text-orange-500 bg-orange-100 dark:bg-orange-500/20'], '31 - 40 years' => ['icon' => 'user', 'color' => 'text-yellow-500 bg-yellow-100 dark:bg-yellow-500/20'], '41 - 50 years' => ['icon' => 'user-check', 'color' => 'text-blue-500 bg-blue-100 dark:bg-blue-500/20'], '51 - 60 years' => ['icon' => 'user-cog', 'color' => 'text-indigo-500 bg-indigo-100 dark:bg-indigo-500/20'], '61+ years' => ['icon' => 'scan-face', 'color' => 'text-green-500 bg-green-100 dark:bg-green-500/20'], default => ['icon' => 'alert-triangle', 'color' => 'text-gray-500 bg-gray-100 dark:bg-gray-500/20'], }; @endphp
  • {{ $age->age_group }}

    {{ number_format($age->total) }}

    {{ $age->percentage }}%
    👨 Male: {{ number_format($age->total_pria) }} | 👩 Female: {{ number_format($age->total_wanita) }}
  • @endforeach
@endforeach
Daily Visit Insights (Paid)
Peserta {{$k}}
@foreach($test as $key => $value) @endforeach
No Order ID Full Name Alamat Email Telp Tgl Lahir T-Shirt Kategori kategori Run
{{ ++$key }} {{ $value->order_id }} {{ $value->full_name }} {{ $value->alamat }} {{ $value->email }} {{ $value->phone }} {{ $value->tgl_lahir }} {{ $value->tshirt_size }} {{ $value->participant_name }} {{ $value->package }}
@section('script') @endsection @endsection