@extends('dashboard.layouts.app') @section('title', trans('admin.comments.title'). ' - ') @section('speedbar')
@endsection @section('content')
@if(count($comments) == 0) @endif @foreach($comments as $comment) @endforeach
ID @lang('admin.specialOffers.image') @lang('admin.products.name') @lang('admin.comments.full_name') @lang('admin.comments.star') @lang('admin.comments.status') @lang('admin.actions')
@lang('admin.no_data')
{{ $comment->id }} @if(!empty($comment->product)) @endif @if(!empty($comment->product)) {{ $comment->product->getName() }} @endif {{ $comment->first_name }} @lang("admin.comments.star$comment->star") {{ ($comment->publish == 1)? trans('admin.comments.published') : trans('admin.comments.not_published') }} @can('update', 'comments') @endcan @can('delete', 'comments') @endcan
{{ $comments->links('pagination::bootstrap-4') }}
@endsection