@extends('layouts.app') @push('datatable-styles') @include('sections.datatable_css') @endpush @php $viewProjectMemberPermission = user()->permission('view_project_members'); $viewProjectMilestonePermission = ($project->project_admin == user()->id) ? 'all' : user()->permission('view_project_milestones'); $viewTasksPermission = ($project->project_admin == user()->id) ? 'all' : user()->permission('view_project_tasks'); $viewGanttPermission = ($project->project_admin == user()->id) ? 'all' : user()->permission('view_project_gantt_chart'); $viewInvoicePermission = user()->permission('view_project_invoices'); $viewDiscussionPermission = user()->permission('view_project_discussions'); $viewNotePermission = user()->permission('view_project_note'); $viewFilesPermission = user()->permission('view_project_files'); $viewRatingPermission = user()->permission('view_project_rating'); $projectArchived = $project->trashed(); @endphp @section('filter-section')
@endsection @section('content')
@include($view)
@endsection @push('scripts') @endpush