@extends('layouts.dashboard') @section('page-title', 'Itasted') @section('page-subtitle', 'Avaliações e comentários dos usuários') @section('content')
{{-- Toolbar --}}

Todos os Itasted

{{-- Table --}}
@forelse ($testimonials as $t) @php $t = (object) $t; @endphp {{-- Autor --}} {{-- Título --}} {{-- Contenido --}} {{-- Destacado --}} {{-- Fecha --}} {{-- Acciones --}} @empty @endforelse
Autor Título Conteúdo Destaque Data
{{ strtoupper(substr($t->author ?? '?', 0, 1)) }}
{{ $t->author ?? '—' }}
{{ $t->title ?? '—' }} {{ $t->content ?? '—' }}
@csrf
{{ isset($t->created_at) ? \Carbon\Carbon::parse($t->created_at)->format('d M Y') : '—' }}
{{-- Eliminar (status = -1) com confirm --}}
@csrf

Nenhum Itasted encontrado

Tente com outro termo de busca

{{-- Paginación --}} @if (($pagination['last_page'] ?? 1) > 1)

Mostrando {{ $pagination['from'] }}–{{ $pagination['to'] }} de {{ $pagination['total'] }} Itasted

@if ($pagination['current_page'] > 1) Anterior @else Anterior @endif @for ($p = 1; $p <= $pagination['last_page']; $p++) {{ $p }} @endfor @if ($pagination['current_page'] < $pagination['last_page']) Próximo @else Próximo @endif
@endif
@endsection