@extends('student.layouts.app') @section('content')

My Chats

@forelse($chatData as $chat)
S
@if($chat['unread_count'] > 0)
{{ $chat['unread_count'] }}
@endif

School Admin

{{ $chat['last_time'] }}

{{ Str::limit($chat['last_message'], 60) }}

@empty

No Chats Found

Try changing the date filters

@endforelse
@endsection