{{ __('dispute.dispute_id') }}: #{{ $dispute?->uuid }}

{{ ucfirst(str_replace('_', ' ', $dispute?->status)) }}
  • {{ __('dispute.date_created') }} {{ \Carbon\Carbon::parse($dispute?->created_at)->format('F j, Y, g:i A') }}
  • {{ __('dispute.reason') }} {{ $dispute?->dispute_reason }}
  • {{ __('dispute.session') }}
    {{ $dispute?->booking?->subject?->slot?->subjectGroup?->subject?->name }} {{ $dispute?->booking?->slot?->subjectGroup?->group->name }} {{ \Carbon\Carbon::parse($dispute?->booking?->start_time)->format('g:i A') }} - {{ \Carbon\Carbon::parse($dispute?->booking?->end_time)->format('g:i A') }}
  • {{ __('dispute.tutor') }}
    @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 }}
  • {{ __('dispute.student') }}
    @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 }}
@if($userChat->count() > 0) @foreach($userChat as $chat)
@if (!empty($chat->user?->profile?->image) && Storage::disk('public')->exists($chat->user?->profile?->image)) {{$chat->user?->profile?->image}} @else {{ $chat->user?->profile?->image }} @endif
{{ $chat->user?->profile?->full_name }}

{{ $chat->message }}

@if($dispute?->status == 'pending' && auth()->user()->role == 'student')

{{ $pendingDisputeMessage }}

@endif {{ \Carbon\Carbon::parse($chat->created_at)->format('h:i A') }}
@endforeach @elseif($dispute?->status == 'pending')

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

@endif
@if($dispute?->status == 'closed' || $dispute?->status == 'pending' ) {{$dispute?->status == 'pending' ? $pendingDisputeMessage : $closeDisputeMessage}} @endif