@endif
{{-- Task Groups by Type --}}
@forelse($this->groupedTasks as $typeId => $tasks)
@php($taskType = \App\Enums\LeadTaskTypeId::tryFrom((int) $typeId))
@if($tasks->count() > 0)
{{ $taskType?->label() ?? 'Tâches du jour' }}
{{ $tasks->count() }}
{{-- Task Items --}}
@foreach($tasks->take(10) as $task)
@php($taskLead = $task->model)