@php use App\Http\Helpers\Helper; @endphp @extends("admin.main") @section("content") @if(auth()->guard('admins')->user()->can('manager email template'))
Add New Template
@if($template->count()) @foreach($template->all() as $item) @endforeach @endif
Status Template Name Type Name
{!! Helper::Status($item->status) !!} {{ $item->name }} @if($item->Type) {{ $item->Type->name }} @else General Message @endif @if(auth()->guard('admins')->user()->can('delete email template'))
@csrf @method('delete')
@endif
@else
Access Denied - You are not assigned to any Email template management department
@endif @endsection