@php $addDiscussionPermission = user()->permission('add_project_discussions'); $manageCategoryPermission = user()->permission('manage_discussion_category'); @endphp
@if (($addDiscussionPermission == 'all' || $addDiscussionPermission == 'added' || $project->project_admin == user()->id) && !$project->trashed()) @lang('app.new') @lang('modules.projects.discussion') @endif @if ($manageCategoryPermission == 'all') @lang('modules.discussions.discussionCategory') @endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@include('sections.datatable_js')