@extends('layouts.admin') @section('title', 'Challenge Management') @section('page-title', 'Challenge Management') @section('page-subtitle', 'Manage 1v1 challenges and hook players together') @section('content')

Challenge Management

Manage 1v1 challenges and hook players together

Create Challenge
Clear
@forelse($challenges as $challenge) @empty @endforelse
Creator Accepter Game Wager Status Created Actions
{{ substr($challenge->creator->username, 0, 1) }}
{{ $challenge->creator->username }}
@if($challenge->accepter)
{{ substr($challenge->accepter->username, 0, 1) }}
{{ $challenge->accepter->username }}
@else Open @endif
{{ substr($challenge->game->name, 0, 1) }}
{{ $challenge->game->name }}
₦{{ number_format($challenge->wager_amount, 2) }} {{ ucfirst($challenge->status) }} {{ $challenge->created_at->diffForHumans() }}
View @if($challenge->status == 'accepted' || $challenge->status == 'disputed') @endif @if($challenge->status != 'completed' && $challenge->status != 'cancelled')
@csrf
@endif

No challenges found.

@if($challenges->hasPages())
{{ $challenges->links() }}
@endif
@endsection