{{ __('dispute.disputes_overview') }}

@role('tutor') @elserole('student') @endrole @if (!$isLoading) @include('skeletons.dispute', ['perPage' => $perPage]) @if(!$disputes->isEmpty()) @foreach($disputes as $dispute) @role('student') @elserole('tutor') @endrole @endforeach @endif @else @include('skeletons.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 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?->responsibleBy?->profile?->image) && Storage::disk('public')->exists($dispute?->responsibleBy?->profile?->image)) {{$dispute?->responsibleBy?->profile?->image}} @else {{ $dispute?->responsibleBy?->profile?->image }} @endif
{{$dispute?->responsibleBy?->profile?->full_name }} {{$dispute?->responsibleBy?->email }}
@if (!empty($dispute?->creatorBy?->profile?->image) && Storage::disk('public')->exists($dispute?->creatorBy?->profile?->image)) {{$dispute?->creatorBy?->profile?->image}} @else {{ $dispute?->creatorBy?->profile?->image }} @endif
{{ $dispute?->creatorBy?->profile?->full_name }} {{$dispute?->creatorBy?->email }}
{{ \Carbon\Carbon::parse($dispute?->created_at)->format('F j, Y, g:i A') }}
{{ ucfirst(str_replace('_', ' ', $dispute?->status)) }} {{ __('dispute.view_detail') }}
@if ($disputes->isEmpty() && !$isLoading)
@endif
@if(!$disputes->isEmpty()) {{ $disputes->links('pagination.pagination') }} @endif