@extends('layouts.app') @section('content') @php $addFaqPermission = user()->permission('add_admin_faq'); $manageFaqCategoryPermission = user()->permission('manage_faq_category'); $viewFaqPermission = user()->permission('view_admin_faq'); $deleteFaqPermission = user()->permission('delete_admin_faq'); @endphp
@if (user()->is_superadmin) @if ($addFaqPermission == 'all') @lang('superadmin.addAdminFaq') @endif @if($manageFaqCategoryPermission == 'all') @lang('app.manage') @lang('app.category') @endif @elseif(in_array('admin', user_roles())) @lang('superadmin.contactSupport') @endif
@lang('app.clearFilters')

@lang($pageTitle)

# @lang('modules.knowledgeBase.knowledgeHeading') @lang('modules.knowledgeBase.knowledgeCategory') @if (user()->is_superadmin) @lang('app.action') @endif @forelse ($knowledgebases as $key => $item) {{ $key + 1 }} {{ $item->title }} {{ $item->category->name }} @if (user()->is_superadmin) @endif @empty @endforelse
@endsection @push('scripts') @endpush