@extends('layouts.app')
@push('datatable-styles')
@include('sections.datatable_css')
@endpush
@section('filter-section')
@lang('app.status')
@lang('app.progress')
@lang('app.clearFilters')
@if (!in_array('client', user_roles()))
@endif
@endsection
@php
$addProjectPermission = user()->permission('add_projects');
$manageProjectTemplatePermission = user()->permission('manage_project_template');
$viewProjectTemplatePermission = user()->permission('view_project_template');
$deleteProjectPermission = user()->permission('delete_projects');
@endphp
@section('content')
@if ($addProjectPermission == 'all' || $addProjectPermission == 'added' || $addProjectPermission == 'both')
@lang('app.addProject')
@endif
@if ($viewProjectTemplatePermission == 'all' || in_array($manageProjectTemplatePermission , ['added', 'all']))
@lang('app.menu.projectTemplate')
@endif
@if ($addProjectPermission == 'all' || $addProjectPermission == 'added' || $addProjectPermission == 'both')
@lang('app.importExcel')
@endif
@if (!in_array('client', user_roles()))
@endif
@if ($deleteProjectPermission != 'none')
@endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection
@push('scripts')
@include('sections.datatable_js')
@endpush