@php $authCheck = auth()->check(); $permission= auth()->user(); @endphp @foreach($faqcategory as $key => $category) @endforeach
S.No. Name Status Actions
{{ $key + 1 }} {{ $category->name }} {{ $category->status == 1 ? 'Active' : 'Inactive' }}
status == 1 ? 'checked' : '' }} >
@if($authCheck && $permission->hasPermission('faqcategory-edit')) @endif @if($authCheck && $permission->hasPermission('faqcategory-delete')) @endif
{{ $faqcategory->links() }}