@extends('admin.layouts.app')
@push('styles_top')
@endpush
@section('content')
{{trans('admin/main.reviews')}}
{{trans('admin/main.total_reviews')}}
{{trans('admin/main.published_reviews')}}
{{trans('admin/main.rates_average')}}
{{trans('update.products_without_review')}}
@foreach($reviews as $review)
{{trans('update.product')}}
{{trans('update.customer')}}
{{trans('admin/main.comment')}}
{{trans('admin/main.reply')}}
{{trans('admin/main.rate')}} (5)
{{trans('admin/main.created_at')}}
{{trans('admin/main.status')}}
{{trans('admin/main.actions')}}
@endforeach
{{ $review->product->title }}
{{ $review->creator->full_name }}
{{ $review->comments_count }}
{{ $review->rates }}
{{ dateTimeFormat($review->created_at,'j M Y | H:i') }}
@if($review->status == 'active')
{{trans('admin/main.published')}}
@else
{{trans('admin/main.hidden')}}
@endif
@can('admin_store_products_reviews_status_toggle')
@if($review->status == 'active')
@else
@endif
@endcan
@can('admin_store_products_reviews_detail_show')
@endcan
@can('admin_reviews_reply')
id}/reply") }}" target="_blank" class="btn-transparent text-primary mr-1" data-toggle="tooltip" data-placement="top" title="{{ trans('admin/main.reply') }}">
@endcan
@can('admin_store_products_reviews_delete')
@include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/store/reviews/'. $review->id.'/delete','btnClass' => ''])
@endcan