{{ __('dispute.all_disputes') .' ('. $disputes->total() .')'}}

@if (!$isLoading) @include('skeletons.admin-dispute', ['perPage' => $perPage]) @if( !$disputes->isEmpty() ) @foreach($disputes as $dispute) @endforeach @endif @else @include('skeletons.admin-dispute', ['perPage' => $perPage]) @endif
{{ __('dispute.dispute') }} {{ __('dispute.session') }} {{ __('dispute.student') }} {{ __('dispute.tutor') }} {{ __('dispute.date_created') }} {{ __('dispute.status') }}
{{ $dispute?->dispute_reason }} {{ $dispute?->uuid }}
@if (!empty($dispute?->booking?->slot?->subjectGroupSubjects?->image) && Storage::disk('public')->exists($dispute?->booking?->slot?->subjectGroupSubjects?->image)) {{$dispute?->booking?->slot?->subjectGroupSubjects?->image}} @else {{ $dispute?->booking?->slot?->subjectGroupSubjects?->image }} @endif
{{ $dispute?->booking?->slot?->subjectGroupSubjects?->subject?->name }}
{{ $dispute?->booking?->slot?->subjectGroupSubjects?->group?->name }} {{ \Carbon\Carbon::parse($dispute?->booking?->start_time)->format('h:i A') }} - {{ \Carbon\Carbon::parse($dispute?->booking?->end_time)->format('h:i A') }}
@if (!empty($dispute?->booking?->student?->image) && Storage::disk('public')->exists($dispute?->booking?->student?->image)) {{$dispute?->booking?->student?->image}} @else {{ $order?->orderable?->student?->image }} @endif
{{ $dispute?->creatorBy?->profile?->full_name }} @if($dispute?->winner_id == $dispute?->creatorBy?->id)
{{ __('general.winning_party') }}
@endif
{{ $dispute?->creatorBy?->email }}
@if (!empty($dispute?->booking?->tutor?->image) && Storage::disk('public')->exists($dispute?->booking?->tutor?->image)) {{$dispute?->booking?->tutor?->image}} @else {{ $dispute?->booking?->tutor?->image }} @endif
{{ $dispute?->responsibleBy?->profile?->full_name }} @if($dispute?->winner_id == $dispute?->responsibleBy?->id)
{{ __('general.winning_party') }}
@endif
{{ $dispute?->responsibleBy?->email }}
{{ \Carbon\Carbon::parse($dispute?->created_at)->format('d M Y') }}
{{ ucfirst(str_replace('_', ' ', $dispute?->status)) }} View Detail
@if ($disputes->isEmpty() && !$isLoading)
@endif
@if (!$disputes->isEmpty()) {{ $disputes->links('pagination.custom') }} @endif