@extends('admin.layouts.index-template', [ 'pageTitle' => 'Testimonios', 'items' => $testimonials, 'icon' => 'chat-3', 'module' => 'Testimonios', 'createRoute' => route('admin.testimonials.create'), 'indexRoute' => route('admin.testimonials.index'), 'searchPlaceholder' => 'Buscar por autor o contenido...', 'emptyIcon' => 'comment-dots', 'emptyTitle' => 'No hay testimonios', 'emptyMessage' => 'Comience agregando el primer testimonio de sus clientes satisfechos', 'stats' => [ 'all' => [ 'label' => 'Total', 'count' => \App\Models\Testimonial::count(), 'color' => 'primary', 'icon' => 'chat-3' ], 'active' => [ 'label' => 'Activos', 'count' => \App\Models\Testimonial::where('is_active', true)->count(), 'color' => 'success', 'icon' => 'checkbox-circle' ], 'inactive' => [ 'label' => 'Inactivos', 'count' => \App\Models\Testimonial::where('is_active', false)->count(), 'color' => 'secondary', 'icon' => 'pause-circle' ], 'five_stars' => [ 'label' => '5 Estrellas', 'count' => \App\Models\Testimonial::where('rating', 5)->count(), 'color' => 'warning', 'icon' => 'star' ], 'with_image' => [ 'label' => 'Con Foto', 'count' => \App\Models\Testimonial::whereNotNull('image')->count(), 'color' => 'info', 'icon' => 'image' ], 'ai_generated' => [ 'label' => 'Con AI', 'count' => \App\Models\Testimonial::whereNotNull('ai_content')->count(), 'color' => 'purple', 'icon' => 'magic' ] ] ]) @push('css') @endpush @section('filters')