@php $disputeStatus = getDisputeStatusTag($status); @endphp
  • {{$disputeStatus['text']}}
{{ $dispute_title }}
  • {{__('disputes.dispute_created_date', ['date' => date( $date_format, strtotime( $dispute_created_at ))])}}
  • {{__('disputes.reference_no', ['number' =>$dispute_id])}}
{{$dispute_author_name}}
{{$dispute_author_name}}
{{$dispute_author_role}} ({{__('disputes.dispute_author')}})
{{$disp_receiver_name}}
{{$disp_receiver_role}}
{{$disp_receiver_name}}

{{$dispute_issue}}

{!! nl2br($dispute_detail) !!}

@php $show_chat = false; if( !$chat->isEmpty() || $show_reply_box ){ $show_chat = true; } @endphp @if( $show_chat )
@if(! $chat->isEmpty())

{{__('disputes.dispute_conversation')}}

@foreach($chat as $key => $message) @php $image = $name = $role = ''; if( !$message->userInfo->isEmpty ){ $name = $message->userInfo->full_name; $role = $message->userInfo->role_id; if(!empty( $message->userInfo->image ) ){ $image_path = getProfileImageURL( $message->userInfo->image, '38x38'); $image = !empty($image_path) ? '/storage/' . $image_path : '/images/default-user-38x38.png'; } else { $image = '/images/default-user-38x38.png'; } } $messageClass = $message->sender_id == $profile_id ? 'tk-messages-sender' : 'tk-messages-reciver'; $total_attachments = 0; if( !empty($message->attachments) ){ $attachement_data = @unserialize($message->attachments); $total_attachments = !empty($attachement_data) ? count($attachement_data) : 0; } @endphp
{{$name}}

{!! nl2br($message->message) !!}

@if( $total_attachments > 0 )
{{ __('project.attachments_to_download', ['total_count' => $total_attachments]) }} {{ __('project.download_files') }}
@endif
{{ date($date_format, strtotime( $message->created_at )) }}
@if( !empty($message->replyMessages) ) @foreach( $message->replyMessages as $reply )
@php $user_image = '/images/default-user-38x38.png'; if(!empty( $reply->userInfo->image ) ) { $image_path = getProfileImageURL( $reply->userInfo->image, '38x38','terer'); $user_image = !empty($image_path) ? '/storage/' . $image_path : '/images/default-user-38x38.png'; } @endphp {{$reply->userInfo->full_name}}

{!! nl2br($reply->message) !!}

{{ date($date_format, strtotime( $reply->created_at )) }}
@endforeach @endif
@endforeach
@endif @if($show_reply_box)
{{__('disputes.relpy_heading')}}
@error('reply_message')
{{$message}}
@enderror
{{__('disputes.post_reply')}} @if($status == 'publish' && $resolved_by == 'seller' && $created_to == $profile_id) @endif
@endif
@endif
@push('scripts') @endpush