@extends('front.layout.master') @section('title','My Chats | ') @section('body')
@include('user.sidebar')
My Chats ({{$conversations->count()}})

@forelse($conversations as $chat)

{{ __("Conversation ID") }}

{{ $chat->conv_id }}

{{ __("Conversation with") }}

{{ $chat->sender->name }}

{{ __("Last Message") }}

{{ $chat->chat->last()->message }} {{ __('from') }} {{ $chat->chat->last()->user->name }} - {{ $chat->chat->last()->created_at->format('jS M Y - h:i A') }}
@empty @endforelse
@endsection