{{ $conversation->title }}


{{ translate('Between you and') }} @if ($conversation->sender_id == Auth::user()->id) {{ $conversation->receiver->name }} @else {{ $conversation->sender->name }} @endif
@if ($conversation->sender_id == Auth::user()->id && $conversation->receiver->shop != null) {{ $conversation->receiver->shop->name }} @endif
@foreach ($conversation->messages as $key => $message) @if ($message->user_id == Auth::user()->id)
@if ($message->user->avatar_original != null) @else @endif
{{ $message->message }}
{{ date('h:i:m d-m-Y', strtotime($message->created_at)) }}
@else
@if ($message->user->avatar_original != null) @else @endif
{{ $message->message }}
{{ date('h:i:m d-m-Y', strtotime($message->created_at)) }}
@endif @endforeach
@csrf