@extends('layouts.admin') @section('title', 'Campaign Report') @section('page-title', 'Campaign Report') @section('content')

{{ $campaign->name }}

Code: {{ $campaign->code }} | Game: {{ ucfirst($campaign->game_type) }} | {{ \Carbon\Carbon::parse($campaign->start_date)->format('d M Y') }} → {{ \Carbon\Carbon::parse($campaign->end_date)->format('d M Y') }}

QR Scans

{{ $stats['scans'] }}

Players

{{ $stats['players'] }}

Game Plays

{{ $stats['plays'] }}

Wins

{{ $stats['wins'] }}

Game Attempts

@forelse($attempts as $attempt) @empty @endforelse
Player Mobile Result Prize Played At
{{ $attempt->player->name }} {{ $attempt->player->mobile }} @if($attempt->result === 'win') Win @else Lose @endif {{ $attempt->prize?->title ?? '—' }} {{ $attempt->played_at->format('d M Y, h:i A') }}
No game attempts found
{{ $attempts->links() }}
@endsection