@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.duration')

@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
@if(in_array('admin', user_roles()) || in_array('employee', user_roles())) @if($waitingApprovalCount > 0){{ $waitingApprovalCount }}@endif @endif
{!! $dataTable->table(['class' => 'table table-hover border-0 w-100']) !!}
@endsection @push('scripts') @include('sections.datatable_js') @endpush