@extends('admin.layouts.master-soyuz') @section('title',__('My Chats')) @section('body') @component('admin.component.breadcumb',['secondactive' => 'active']) @slot('heading') {{ __('My Chats') }} @endslot @slot('menu2') {{ __("My Chats") }} @endslot @endcomponent
{{ $error}}
@endforeach{{ __("Conversation ID") }}
{{ $chat->conv_id }}{{ __("Conversation with") }}
{{ $chat->sender_id == auth()->id() ? $chat->reciever->name : $chat->sender->name }}{{ __("Last Message") }}
{{ !empty( $chat->chat->last() ) ? $chat->chat->last()->message : "No " }} {{ __('from') }} {{ !empty( $chat->chat->last() ) ? $chat->chat->last()->user->name : '' }} - {{ !empty( $chat->chat->last() ) ? $chat->chat->last()->created_at->format('jS M Y - h:i A') : '' }}Admin