@can('documents show')
@endcan
@can('leaves show')
@endcan
@can('custodies show')
@endcan
@can('tasks show')
@endcan
@can('deputations show')
@endcan
@can('permissions show')
@endcan
@can('attendance-requests show')
@endcan
@can('absences show')
@endcan
@can('purchases show')
@endcan
@can('advances show')
@endcan
@if ($activeTab === 'statistics')
@include('dashboard.statistics')
@elseif ($activeTab === 'tasks' && auth()->user()->can('tasks show'))
@include('dashboard.tasks')
@elseif ($activeTab === 'leaves' && auth()->user()->can('leaves show'))
@include('dashboard.leaves')
@elseif ($activeTab === 'projects' && auth()->user()->can('projects show'))
@include('dashboard.projects')
@elseif ($activeTab === 'activities' && auth()->user()->can('activity logs show'))
@include('dashboard.activities')
@endif