# @lang('modules.knowledgeBase.knowledgeHeading') @lang('modules.knowledgeBase.knowledgeCategory') @lang('app.to') @lang('app.action') @forelse ($knowledgebases as $key => $item) {{ $key + 1 }} {{ $item->heading }} {{ $item->knowledgebasecategory->name }} {{ $item->to }} @if ($editKnowledgebasePermission == 'all' || ($editKnowledgebasePermission == 'added' && $item->added_by == user()->id))
@lang('app.edit')
@endif @if ($deleteKnowledgebasePermission == 'all' || ($deleteKnowledgebasePermission == 'added' && $item->added_by == user()->id))
@lang('app.delete')
@endif @empty @endforelse