Email Template

@if (session()->has('message'))
{{ session('message') }}
@endif @if(isset($templatelist) && $templatelist->isEmpty()) @else @foreach($templatelist as $index => $data) @php $isSms = strpos(strtolower($data->template_name), 'sms:') !== false || empty($data->subject); $typeBadge = $isSms ? 'SMS' : 'Email'; @endphp @endforeach @endif
# Template Name Type Description Subject Actions
No data found
{{ $templatelist->firstItem() + $index }} {{ $data->template_name }}
Slug: {{ $data->template_slug }}
{!! $typeBadge !!} @if($data->description) {{ Str::limit($data->description, 150) }} @else No description @endif @if($data->subject) {{ Str::limit($data->subject, 80) }} @else N/A (SMS) @endif Edit
{{ $templatelist->links() }}