@extends('user.layouts.master') @section('title','E-SHOP || Comment Page') @section('main-content')
@include('backend.layouts.notification')
Comment Lists
@if(count($comments)>0) @foreach($comments as $comment) @endforeach
S.N. Author Post Title Message Date Status Action
S.N. Author Post Title Message Date Status Action
{{$comment->id}} {{$comment->user_info['name']}} {{$comment->post->title}} {{$comment->comment}} {{$comment->created_at->format('M d D, Y g: i a')}} @if($comment->status=='active') {{$comment->status}} @else {{$comment->status}} @endif
@csrf @method('delete')
{{$comments->links()}} @else
No post comments found!!!
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush