@foreach($this->orderedSections as $sectionKey => $section)
{{ $section['title'] }}
@if($sectionKey === 'tasks')
@elseif($sectionKey === 'matters')
View All
@elseif($sectionKey === 'pending_proposals')
{{ $pendingProposals->count() }} proposals
View All
@endif
@if($sectionKey === 'follow_up_interactions')
@include('livewire.dashboard.sections.follow-up-interactions')
@elseif($sectionKey === 'tasks')
@include('livewire.dashboard.sections.tasks')
@elseif($sectionKey === 'matters')
@include('livewire.dashboard.sections.matters')
@elseif($sectionKey === 'pending_proposals')
@include('livewire.dashboard.sections.pending-proposals')
@elseif($sectionKey === 'pending_conflicts')
@include('livewire.dashboard.sections.pending-conflicts')
@endif