@extends('layouts.app') @section('title', 'All Disputes - Moderator') @section('content')

All Disputes

Browse and claim unassigned disputes for resolution

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@if($disputes->count() > 0)
@foreach($disputes as $dispute) @endforeach
Challenge Players Opened By Assigned To Status Date Actions
{{ $dispute->challenge->game->name }}
₦{{ number_format($dispute->challenge->amount, 2) }}
{{ $dispute->challenge->creator->username }} vs {{ $dispute->challenge->accepter->username }}
{{ $dispute->openedBy->username }}
@if($dispute->moderator)
{{ $dispute->moderator->username }}
@if($dispute->moderator_id === auth()->id()) You @endif @else Unassigned @endif
{{ ucfirst($dispute->status) }} {{ $dispute->created_at->format('M j, Y') }}
{{ $dispute->created_at->diffForHumans() }}
@if(!$dispute->moderator_id && $dispute->status === 'open')
@csrf
@endif View
{{ $disputes->appends(request()->query())->links() }}
@else

No disputes found

There are no disputes matching your current filters.

@endif
@endsection