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

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

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

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