{{ $proposal->title }}

Conflict Analysis

@if (session()->has('success'))
{{ session('success') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif
@php $pendingCount = $proposal->conflictReviews->where('status', 'pending')->count(); @endphp @if($pendingCount > 0) @endif @php $user = auth()->user(); @endphp @if($user && ($user->isAdmin() || $user->isSuperadmin() || $user->isSeniorLawyer()))
@endif
Title: {{ $proposal->title }}
Reference Number: {{ $proposal->reference_number }}
Proposal Date: {{ $proposal->proposal_date->format('M j, Y') }}
@if($proposal->description)
Description: {{ $proposal->description }}
@endif
Client Name: {{ $proposal->client->company_name }}

Potential Conflict Cases (Past)

@if(count($potentialConflicts) > 0)
@foreach($potentialConflicts as $conflict) @endforeach
Name of the Process Departments Involved Date Open Proposal
{{ $conflict->title }} {{ $conflict->department ?? 'N/A' }} {{ $conflict->proposal_date ? $conflict->proposal_date->format('M j, Y') : '' }} View
@else

No related past conflict cases found.

@endif

Review Status

@php $badgeLabel = $this->conflictStatusBadge['label']; $badgeClass = $badgeLabel === 'No Conflict' ? 'bg-green-100 text-green-800' : $this->conflictStatusBadge['class']; @endphp {{ $badgeLabel }}
Review Progress: {{ $this->reviewProgress['completed'] }}/{{ $this->reviewProgress['total'] }} lawyers reviewed

{{ $this->reviewProgress['percentage'] }}% complete

Individual Lawyer Reviews

@foreach($proposal->conflictReviews as $review)
{{ $review->lawyer->name }}

{{ $review->lawyer->email }}

{{ $review->getStatusLabel() }}
@if(Auth::check() && Auth::user()->isLawyer() && $review->lawyer_id === Auth::id() && $review->status === 'pending')
@error('reviewStatus') {{ $message }} @enderror
@if($reviewStatus === 'conflict_exists')
@error('conflictDetails') {{ $message }} @enderror
@endif
@error('reviewNotes') {{ $message }} @enderror
@elseif($review->status === 'pending')

Review requested {{ $review->created_at->diffForHumans() }}

@else
@if($review->conflict_details)
Conflict Details:

{{ $review->conflict_details }}

@endif @if($review->notes)
Notes:

{{ $review->notes }}

@endif @if($review->reviewed_at)

Reviewed on {{ $review->reviewed_at->format('M j, Y \a\t g:i A') }}

@else

Reviewed on (not reviewed)

@endif
@endif @if(Auth::check() && (Auth::user()->isAdmin() || Auth::user()->isSuperadmin())) @endif
@endforeach