@if($pendingConflictsCount > 0)

You have {{ $pendingConflictsCount }} pending conflict{{ $pendingConflictsCount > 1 ? 's' : '' }} to review

Please review the conflicts assigned to you to ensure compliance and avoid potential conflicts of interest.

@endif
@if(auth()->user()->hasPermission('contacts.create')) New Contact @endif New Client New Task @if(auth()->user()->canCreateTimesheets()) New Timesheet @endif
@foreach($this->orderedSections as $sectionKey => $section)

{{ $section['title'] }}

@if($sectionKey === 'tasks') @elseif($sectionKey === 'matters') View All @elseif($sectionKey === 'pending_proposals')
{{ $pendingProposals->count() }} View All
@endif
@if($sectionKey === 'follow_up_interactions') @include('livewire.dashboard.sections.follow-up-interactions-compact') @elseif($sectionKey === 'tasks') @include('livewire.dashboard.sections.tasks-compact') @elseif($sectionKey === 'matters') @include('livewire.dashboard.sections.matters-compact') @elseif($sectionKey === 'pending_proposals') @include('livewire.dashboard.sections.pending-proposals-compact') @elseif($sectionKey === 'pending_conflicts') @include('livewire.dashboard.sections.pending-conflicts-compact') @endif
@endforeach
@if($showWidgetManager)

Manage Dashboard Widgets

Drag widgets to reorder them and toggle their visibility. Changes are saved automatically.

@foreach($widgetOrder as $widgetKey) @if(isset($availableWidgets[$widgetKey])) @php $widget = $availableWidgets[$widgetKey]; @endphp

{{ $widget['title'] }}

{{ $widget['description'] }}

@if(isset($widget['requires_permission'])) Permission Required @endif
@endif @endforeach
@endif @if($showInteractionModal)

{{ $editingInteractionId ? 'Edit Interaction' : 'New Interaction' }}

@error('interactionForm.subject') {{ $message }} @enderror
@error('interactionForm.interaction_date') {{ $message }} @enderror
@endif
@push('scripts') @endpush @if($showCreateConflictModal)

{{ __('Create New Conflict Review') }}

@endif