@extends('layouts.main') @section('content')
@if($comments->isEmpty())
No unseen comment(s) found.
@else @foreach($comments as $comment) @endforeach
Subject Category Unseen Comments Total Comments
{{ $comment->subject->e_name }} {{ $comment->subject->e_type }} {{ App\Models\ECommentSeen::where('e_id', $comment->e_id)->where('u_id', Auth::user()->u_id)->where('ecs_seen', 0)->count() }} {{ App\Models\Comment::where('comm_event', 1)->where('comm_reference', $comment->e_id)->count() }}
@if($comments->render())
{!! $comments->render() !!}
@endif @endif
@stop