Plantillas WhatsApp

Gestiona las plantillas de mensajes para WhatsApp

Volver al Dashboard @can('create whatsapp templates') @endcan

{{ $templates->total() }}

Total Plantillas

{{ \App\Models\WhatsAppTemplate::where('is_active', true)->count() }}

Activas

{{ \App\Models\WhatsAppTemplate::where('category', 'notification')->count() }}

Notificaciones

{{ \App\Models\WhatsAppTemplate::where('category', 'marketing')->count() }}

Marketing

Listado de Plantillas
@forelse($templates as $template) @empty @endforelse
Nombre Descripción Categoría Estado Uso Creado Acciones
{{ $template->name }}
{{ Str::limit($template->content, 50) }}
{{ Str::limit($template->description, 60) }}
{{ ucfirst($template->category) }}
is_active ? 'checked' : '' }} {{ !auth()->user()->can('update whatsapp templates') ? 'disabled' : '' }}>
{{ $template->usage_count }}
usos
{{ $template->created_at->format('d/m/Y') }}
{{ $template->creator->name }}
@can('update whatsapp templates') @endcan @can('delete whatsapp templates') @endcan
No hay plantillas disponibles

Crea tu primera plantilla para comenzar

@can('create whatsapp templates') @endcan
Mostrando {{ $templates->firstItem() }} a {{ $templates->lastItem() }} de {{ $templates->total() }} plantillas
{{ $templates->links() }}
@if($showModal) @endif @if($deleteModal) @endif @if(session()->has('success'))
@endif @if(session()->has('error'))
@endif