@extends('layouts.admin') @section('title', 'SMS Templates') @section('content')

SMS Templates

Manage system SMS notification templates

@if(isset($categories))
@endif
@if(isset($templates)) @forelse($templates as $template) @empty @endforelse @else @endif
Template Name Slug Category Message Status Created Actions
{{ $template->name ?? 'N/A' }} {{ $template->slug ?? 'N/A' }} {{ ucfirst($template->category ?? 'general') }} {{ Str::limit($template->message ?? '', 50) }} {{ ($template->is_active ?? false) ? 'Active' : 'Inactive' }} {{ $template->created_at ? $template->created_at->format('M d, Y') : 'N/A' }}
@csrf @method('DELETE')
No SMS templates found.
Unable to load templates
@if(isset($templates) && method_exists($templates, 'hasPages') && $templates->hasPages())
{{ $templates->links() }}
@endif
@push('scripts') @endpush @endsection