@extends('layouts.admin') @section('title', 'Players & credits') @section('admin-content')
KEEP THE GOOD TIMES SPINNING

Players & credits.

One credit gives a player one spin. You decide how many.

@if($search)Clear@endif
@forelse($players as $player)@empty@endforelse
PlayerCreditsSpinsIP addressesEmail accessGrant credits
{{ $player->name }}{{ $player->email }}{{ $player->spin_credits }}{{ $player->signup_credits_received }} at registration{{ $player->spins_count }}{{ $player->last_ip ?: 'Not recorded yet' }}Registered: {{ $player->registration_ip ?: 'Not recorded yet' }}@if($player->last_ip && $activeIPs->contains($player->last_ip))Last IP is blocked@endifManage IP rules ↗@php($emailBlock = $emailBlocks->get($player->email))
@csrf @if($emailBlock) @method('PUT')@else@endif
@csrf
{{ $search ? 'No players match your search.' : 'No players yet. Player registration is available on the frontend.' }}

Recent credit grants

Audit trail
@forelse($grants as $grant)@empty@endforelse
PlayerCreditsGranted byNoteDate
{{ $grant->player_name }}+{{ $grant->amount }}{{ $grant->admin_name }}{{ $grant->note ?: '—' }}{{ \Carbon\Carbon::parse($grant->created_at)->format('d M, H:i') }}
Every credit grant will be recorded here.
@endsection