@extends('layouts.admin') @section('title', 'Dashboard') @section('page-title', 'Dashboard') @section('page-icon', 'layout-dashboard') @section('content')

Campaigns

{{ $total_campaigns }}

Total created

Active

{{ $active_campaigns }}

Running now

QR Scans

{{ $total_scans }}

Total interactions

Players

{{ $total_players }}

Unique users

Game Plays

{{ $total_plays }}

Across all campaigns

Wins

{{ $total_wins }}

Successful attempts

Win Rate

@php $rate = $total_plays > 0 ? round(($total_wins / $total_plays) * 100, 2) : 0; @endphp

{{ $rate }}%

Success probability

Action Center

Campaigns Reports Winners @if(auth()->user()->role === 'super_admin') New Campaign @endif

System Status

QR Engine operational
One-play-per-device enforced
Probability logic active
Role-based access enabled
Server healthy
No anomalies detected
@endsection