@if(session()->has('success'))
{{ session('success') }}
@endif @if(session()->has('error'))
{{ session('error') }}
@endif
{{ __('Loading...') }}
{{ __('Conflict Management') }}
@if($allConflicts->count() > 0)

{{ __('All Conflicts') }}

@foreach($allConflicts as $conflict) @php $badge = $this->getUnifiedConflictStatusBadge($conflict); @endphp @endforeach
{{ __('Title') }} @if($sortBy === 'title') {!! $sortDirection === 'asc' ? '↑' : '↓' !!} @endif {{ __('Client & Status') }} @if($sortBy === 'client_id') {!! $sortDirection === 'asc' ? '↑' : '↓' !!} @endif {{ __('Conflict Details') }} {{ __('Requested by') }} @if($sortBy === 'created_at') {!! $sortDirection === 'asc' ? '↑' : '↓' !!} @endif {{ __('Progress') }} {{ __('Actions') }}
@if($conflict->proposal_id) @else @endif
@if($conflict->proposal_id) {{ __('Conflict → Proposal') }} @else {{ __('Standalone Conflict') }} @endif
@if($conflict->proposal_id)
{{ __('Converted to Proposal') }}
{{ $conflict->client->company_name ?? __('No client') }}
@else
{{ $conflict->client->company_name ?? __('No client') }}
{{ __('Standalone Conflict') }}
@endif
@if($conflict->description)
{{ Str::limit($conflict->description, 100) }}
@else {{ __('No description') }} @endif
@if($conflict->ubos)
{{ __('UBOs') }}: {{ Str::limit($conflict->ubos, 80) }}
@endif
{{ $conflict->requested_by->name ?? __('Unknown') }}
{{ $conflict->created_at->format('M d, Y') }}
{{ $conflict->progress['completed'] }}/{{ $conflict->progress['total'] }} {{ __('reviews') }}
{{ $badge['label'] }}
@if(!$conflict->proposal_id) @else {{ __('View Proposal') }} @endif @if(auth()->user()->isAdmin() || auth()->user()->isSuperadmin() || ($conflict->requested_by && auth()->user()->id === $conflict->requested_by->id)) @endif
@else

{{ __('No conflicts found') }}

{{ __('Get started by creating a new conflict review.') }}

@endif @if($showCreateConflictModal)

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

@endif