@extends('layouts.app') @section('page-title', __('Rateable Items')) @section('page-heading', __('Rateable Items')) @section('content')
@include('partials.messages')
@if(request()->has('search')) @endif
Create New Item
@forelse($items as $item) @empty @endforelse
Title Attributes Ratings Created Status Expires Actions
{{ Str::limit($item->title, 40) }}
@foreach($item->attributes as $attribute) {{ $attribute->name }} ({{ number_format($attribute->average_rating, 1) }}) @endforeach
{{ number_format($item->overall_average_rating, 1) }}
{{ $item->ratings_count }} ratings
{{ $item->created_at->format('M d, Y') }} {{ $item->status ? 'Active' : 'Inactive' }} @if($item->expires_at) @if($item->isExpired()) Expired @else {{ $item->expires_at->format('M d, Y') }} @endif @else Never @endif
@if($item->ratings_count === 0) @endif

No rateable items found

@if(request()->has('search')) @endif
{{ $items->links() }}
@push('scripts') @endpush @push('styles') @endpush @endsection