@extends('admin.layouts.sellermastersoyuz') @section('title',__('Chat with :user',['user' => $reciever->name])) @section('stylesheet') @endsection @section('body') @component('admin.component.breadcumb',['secondactive' => 'active']) @slot('heading') {{ __('Chat') }} @endslot @slot('menu2') {{ __("Chat for order") }} @endslot @endcomponent
{{ __("Back") }}
{{ __('Chat with :user',['user' => $reciever->name]) }}
  • @if($reciever->image != '' && file_exists(public_path().'/images/user/'.$reciever->image)) profilephoto @else profilephoto @endif
    {{ $reciever->name }}

@forelse($conversation->chat as $chat)
@if($chat->type == 'media') {{ $chat->media }} @else {{$chat->message}} @endif
{{ $chat->created_at->format('d-m-Y - h:i A') }}
@empty

{{__("Start a conversation with ")}} {{ $reciever->name }}

@endforelse
@endsection @section('custom-script') @endsection