@if (session('success'))
{{ session('success') }}
@endif {{-- Stats --}}
Total
{{ $stats['total'] }}
Destacados
{{ $stats['featured'] }}
Este mes
{{ $stats['this_month'] }}
Categorias
{{ $stats['total_categories'] }}
{{-- Tabs: Testimonios + Categorias --}}
{{-- Tab: Testimonios --}}
@php $testimonials = \App\Modules\Testimonials\Models\Testimonial::with('category')->orderBy('order')->orderBy('created_at', 'desc')->get(); @endphp
@forelse($testimonials as $t) @empty @endforelse
Foto Nombre Testimonio Cargo Categoria Dest. Acciones
{{ $t->name }} {{ $t->name }} {{ Str::limit($t->description, 80) }} {{ $t->position }}{{ $t->company ? ' - ' . $t->company : '' }} {{ $t->category ? $t->category->name : '-' }}
@csrf
Editar
@csrf @method('DELETE')
No hay testimonios cargados.
{{-- Tab: Categorias --}}
@php $testimonialCategories = \App\Modules\Testimonials\Models\TestimonialCategory::withCount('testimonials')->orderBy('name')->get(); @endphp
@forelse($testimonialCategories as $cat) @empty @endforelse
Nombre Testimonios Acciones
{{ $cat->name }} {{ $cat->testimonials_count }}
Editar
@csrf @method('DELETE')
No hay categorias.