@extends('layouts.app') @section('title', 'Chat Sessions | SEF Solution') @section('content')
SEF Solution

Visitor Chat Sessions

যারা ওয়েবসাইটে ঢুকে চ্যাট করেছে তাদের সব লিস্ট

@forelse($sessions as $chat) @empty @endforelse
ID Phone Messages Active Time Return Visitor Lead Status Chat Date
{{ $chat->id }} {{ $chat->phone ?: 'N/A' }} {{ $chat->messages_count }} {{ $chat->active_seconds >= 60 ? ceil($chat->active_seconds / 60).'m' : $chat->active_seconds.'s' }} {{ $chat->is_returning ? 'Yes' : 'No' }} {{ ucfirst($chat->lead_status ?: 'open') }} {{ $chat->last_activity_at?->format('d M Y, h:i A') }} Open Chat
এখনও কোনো chat session আসেনি।
{{ $sessions->links() }}
@endsection