@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
PlayerCreditsSpinsGrant credits
{{ $player->name }}{{ $player->email }}{{ $player->spin_credits }}{{ $player->spins_count }}
@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