@extends(getTemplate() .'.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content')

{{ trans('panel.comments_statistics') }}

{{ $comments->count() }} {{ trans('panel.comments') }}
{{ $repliedCommentsCount }} {{ trans('panel.replied') }}
{{ ($comments->count() - $repliedCommentsCount) }} {{ trans('panel.not_replied') }}

{{ trans('panel.filter_comments') }}

{{ trans('update.product_comments_list') }}

@if(!empty($comments) and !$comments->isEmpty())
@foreach($comments as $comment) @endforeach
{{ trans('panel.user') }} {{ trans('update.product') }} {{ trans('panel.comment') }} {{ trans('public.status') }} {{ trans('public.date') }}
{{ $comment->user->full_name }}
{{ $comment->product->title }} @if(empty($comment->reply_id)) {{ trans('public.open') }} @else {{ trans('panel.replied') }} @endif {{ dateTimeFormat($comment->created_at,'j M Y | H:i') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'comment.png', 'title' => trans('panel.comments_no_result'), 'hint' => nl2br(trans('panel.comments_no_result_hint')) , ]) @endif
{{ $comments->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush