@extends('admin.layouts.layout') @section('content')

Text SMS Content Template

@if($permission['create'] ?? true) Add Template @endif @if($permission['destroy'] ?? true) Delete Multiple @endif
@if($permission['edit'] || $permission['destroy'] || $permission['show']) @endif @if(isset($data) && $data->count() > 0) @foreach($data as $template) @if($permission['edit'] || $permission['destroy'] || $permission['show']) @endif @endforeach @else @endif
Name SMS Content Event Key Language Is Enabled?Action
@if($permission['show'] ?? true) {{ $template->title }} @else {{ $template->title }} @endif
{{ $template->truncated_body }} @if($template->event_key) {{ $template->event_key }} @else - @endif @if($template->language) {{ $template->language->name }} @if($template->language->native_name && $template->language->native_name !== $template->language->name)
{{ $template->language->native_name }}
@endif @else Not Set @endif
is_enabled ? 'checked' : '' }}>
@if($permission['show'] ?? true) @endif @if($permission['edit'] ?? true) @endif @if($permission['destroy'] ?? true) {!! html()->form('DELETE', route('sms-templates.destroy', $template->id))->attributes([ 'style' => 'display:inline', 'id' => 'delete-form-' . $template->id ])->open() !!} {!! html()->form()->close() !!} @endif

No SMS templates found

@if(isset($data) && method_exists($data, 'links') && $data->count() > 0) @endif
@endsection @push('page_script') @endpush