@extends('layouts.app')
@push('datatable-styles')
@include('sections.datatable_css')
@endpush
@php
$addTaskPermission = user()->permission('add_tasks');
$viewUnassignedTasksPermission = user()->permission('view_unassigned_tasks');
@endphp
@section('filter-section')
@lang('app.status')
@lang('app.clearFilters')
@if (in_array('projects', user_modules()))
@endif
@if (in_array('projects', user_modules()))
@endif
@endsection
@section('content')
@if ($addTaskPermission == 'all' || $addTaskPermission == 'added')
@lang('app.addTask')
@endif
@if (!in_array('client', user_roles()))
@lang('modules.tasks.myTask')
@endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection
@push('scripts')
@include('sections.datatable_js')
@endpush