@php $authCheck = auth()->check(); $permission= auth()->user(); @endphp @foreach($faqs as $key => $faq) @endforeach
S.No. Category Question Answer Status Actions
{{ $key + 1 }} {{ $faq->category->name }} {{ Str::limit($faq->question,100,'...') }} {{ Str::limit($faq->answer,100,'...') }} {{ $faq->status == 1 ? 'Active' : 'Inactive' }}
status == 1 ? 'checked' : '' }} >
{{ $faqs->links() }}