@extends('layouts.admin')
@section('title', 'Admin overview')
@section('admin-content')
YOUR CLUB AT A GLANCE
Overview.
The people, the spins, and the little wins.
{{ now()->format('d M Y') }}
@foreach(['players' => 'Registered players', 'unique' => 'Players who spun', 'spins' => 'Total spins', 'today' => 'Spins today'] as $key => $label)
{{ $label }}{{ number_format($stats[$key]) }}{{ $key === 'today' ? config('app.timezone') : 'All time' }}@endforeach
Spins this week
Last 7 days@foreach($days as $day)
{{ $day['total'] }}{{ $day['label'] }} @endforeach
Reward distribution
✦@forelse($breakdown as $item){{ $item->prize_name }}{{ $item->total }} @emptyYour first spin will bring this chart to life.
@endforelse
Latest lucky moments
12 most recent spins| Player | Reward | Date | Spin |
@forelse($recent as $spin)| {{ $spin->user->name }}{{ $spin->user->email }} | {{ $spin->prize_name }} | {{ $spin->created_at->format('d M, H:i') }} | #{{ $spin->id }} |
@empty| No spins yet. Grant your first player some credits to get started. |
@endforelse
@endsection