@extends('admin.layouts.master-soyuz') @section('title',__('Chat with :user |',['user' => $reciever->name])) @section('stylesheet') @endsection @section('body') @include('admin.layouts.topbar',$data)
{{ __("Back") }}
{{ __('Chat with :user',['user' => $reciever->name]) }} {{ __('How are you') }}
  • @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