@extends('frontend.layouts.app') @push('stylepush') @endpush @section('content') @php $user = auth()->user(); @endphp

{{ translate('Chat List') }}

{{ translate('Dashboard') }}
{{ translate('Chat list') }}
@forelse ($sellers as $seller) @php $isSeen = true; if ( $seller->latestConversation && $seller->latestConversation->sender_role == 'seller' && $seller->latestConversation->is_seen == 0 ) { $isSeen = false; } @endphp
profile.jpg
{{ $seller->name . ' ' . $seller->last_name }}
{{ $seller->latestConversation->created_at->diffForHumans() }}

{{ $seller->latestConversation->message }}

@if (!$isSeen) {{ translate('New') }} @endif
@empty @include('frontend.partials.empty', [ 'message' => translate('No user found'), ]) @endforelse
@include('frontend.partials.empty', [ 'message' => translate('Please select a seller'), ])
@endsection @push('script-include') @endpush @push('scriptpush') @endpush