@extends('layouts.app') @section('title', 'Dispute Details - Moderator') @section('content')
← Back to My Disputes

Dispute Details

Review and resolve this dispute

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

{{ $dispute->challenge->game->name }} Challenge

₦{{ number_format($dispute->challenge->amount, 2) }} at stake

{{ ucfirst($dispute->status) }}

Challenge Details

Creator: {{ $dispute->challenge->creator->username }}
Accepter: {{ $dispute->challenge->accepter->username }}
Game: {{ $dispute->challenge->game->name }}
Amount: ₦{{ number_format($dispute->challenge->amount, 2) }}
Challenge Created: {{ $dispute->challenge->created_at->format('M j, Y H:i') }}

Dispute Information

Opened By: {{ $dispute->openedBy->username }}
Assigned To: @if($dispute->moderator) {{ $dispute->moderator->username }} @if($dispute->moderator_id === auth()->id()) (You) @endif @else Unassigned @endif
Dispute Created: {{ $dispute->created_at->format('M j, Y H:i') }}
@if($dispute->assigned_to_moderator_at)
Assigned At: {{ $dispute->assigned_to_moderator_at->format('M j, Y H:i') }}
@endif

Dispute Reason

{{ $dispute->reason }}

Evidence

Creator Evidence

@if($dispute->hasCreatorEvidence())
📎 View Creator Evidence

Click to view the evidence file

@else
No evidence uploaded by creator
@endif

Accepter Evidence

@if($dispute->hasAccepterEvidence())
📎 View Accepter Evidence

Click to view the evidence file

@else
No evidence uploaded by accepter
@endif
@if($dispute->challenge->matchProofs->count() > 0)

Match Proofs

@foreach($dispute->challenge->matchProofs as $proof)
{{ $proof->user->username }} {{ $proof->created_at->format('M j, H:i') }}
@if($proof->image_path) 📷 View Screenshot @endif @if($proof->description)

{{ $proof->description }}

@endif
@endforeach
@endif @if($dispute->status === 'open' && $dispute->moderator_id === auth()->id())

Make Decision

@csrf
Cancel
@elseif($dispute->status === 'resolved')

Resolution

This dispute has been resolved.

Resolution: {{ $dispute->resolution }}

@if($dispute->admin)

Resolved by {{ $dispute->admin->username }} on {{ $dispute->updated_at->format('M j, Y H:i') }}

@endif
@else

@if(!$dispute->moderator_id) This dispute is not assigned to anyone yet. @else This dispute is assigned to {{ $dispute->moderator->username }}. @endif

@endif
@endsection