{{ __('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 }}

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

@if($winningParty == "student" || $winningParty == "tutor")
@error('comment')
{{$message}}
@enderror
@endif
@if($winningParty == "student" || $winningParty == "tutor") @endif
@if($withChat == 'tutor' && ($dispute?->status == 'pending' || $dispute?->status == 'under_review'))
no record
{{ __('dispute.no_messages_yet') }}
{{ __('dispute.no_messages_detail') }}
@else @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 }}

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