@extends('backend.layouts.app') @section('content')
{{translate('Product Reviews')}}
@foreach($reviews as $key => $review) @if ($review->product != null && $review->user != null) @endif @endforeach
# {{translate('Product')}} {{translate('Product Owner')}} {{translate('Customer')}} {{translate('Rating')}} {{translate('Comment')}} {{translate('Published')}}
{{ ($key+1) + ($reviews->currentPage() - 1)*$reviews->perPage() }} {{ $review->product->getTranslation('name') }} {{ $review->product->added_by }} {{ $review->user->name }} ({{ $review->user->email }}) {{ $review->rating }} {{ $review->comment }}
{{ $reviews->appends(request()->input())->links() }}
@endsection @section('script') @endsection