@extends('layouts.admin') @section('title', 'Dispute Management') @section('page-title', 'Dispute Management') @section('page-subtitle', 'Manage and resolve user disputes') @section('content')
@if($disputes->count() > 0)
@foreach($disputes as $dispute)

Challenge #{{ $dispute->challenge->id }}

{{ ucfirst($dispute->status) }}
Opened {{ $dispute->created_at->diffForHumans() }}

⚔️ Challenge Details

{{ $dispute->challenge->creator->username }} (Creator)
VS
{{ $dispute->challenge->accepter->username }} (Accepter)
₦{{ number_format($dispute->challenge->wager_amount, 2) }} {{ $dispute->challenge->game->name ?? 'Unknown Game' }}

🚨 Dispute Information

Opened by: {{ $dispute->openedBy->username }}

Reason: {{ $dispute->reason }}

@if($dispute->description)

Description: {{ $dispute->description }}

@endif
@endforeach
@if($disputes->hasPages())
{{ $disputes->links() }}
@endif @else

🎉 No Disputes!

Great job! There are no open disputes that need your attention.

⚖️
@endif
@endsection