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