@extends('layouts.admin') @section('title', 'Challenge Management') @section('page-title', 'Challenge Management') @section('page-subtitle', 'Manage 1v1 challenges and hook players together') @section('content')
Manage 1v1 challenges and hook players together
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 }}
|
{{ 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')
@endif
|
No challenges found. |