@can('leads.create')
@svg('profile')
@lang('Leads')

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


@if(\App\Models\Client::isLead()->count()) @livewire('leads.leads-table', [ 'title' => '', 'styles' => ['compact', 'header-stronger'], 'hide' => ['filters'], 'limit' => 5, 'loader' => true, ]) @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')

--}}