@can('projects.view')
@svg('profile')
@lang('Projects')

@lang('Create, update and manage your client projects').


@if(Project::count()) @livewire('projects.projects-table', [ 'title' => '', 'exclude' => ['type_label', 'origin_label', 'analyst', 'priority', 'selected_simulation.financial_plan.bank.name', 'selected_simulation.financial_plan.credit_amount'], 'styles' => ['compact', 'header-stronger'], 'hide' => ['filters'], 'limit' => 5, 'loader' => true, 'restrict' => auth()->user()->hasRole(['analyst', 'supervisor', 'director']) ? ['projects.analyst_id' => auth()->id()] : [], ]) @else @endif
@endcan
@svg('emails')
Mon agenda du {{ now()->isoFormat('LL') }}

@lang('My daily tasks')


@if(auth()->user()->tasks()->where(fn($q) => $q->todaysTasks()->orWhere(fn($q) => $q->overdue()))->count()) @livewire('tasks.tasks-table', [ 'title' => '', 'restrict' => ['user_id' => auth()->id()], 'styles' => ['compact', 'header-stronger'], 'hide' => ['filters'], 'loader' => true, 'showPagination' => false, 'params' => ['daily' => true], 'limit' => 8, ]) @else @endif
{{--
@svg('settings')
@lang('Simulator')

@lang('Create and manage your loan simulations')

--}}