@php use App\Enums\StatusEnum; @endphp @extends('layout.admin') @section('content')

Special Category All Special Category

Special Category List

@if (count($specialCategories) > 0) @foreach ($specialCategories as $key => $specialCategory) @endforeach
# Name Alias Status Action
{{ $key + 1 }} {{ $specialCategory->name }} {{ $specialCategory->alias }} @if($specialCategory->status == StatusEnum::ACTIVE->value) Active @else Inactive @endif Edit | @if (auth()->user()->role_id == 1)
@csrf @method('DELETE')
@endif
@else @include('admin.partial.data-not-found') @endif
@endsection