@extends('layouts.master')
@section('title', 'Conflict Management')
@section('content')
{{ $title ?? 'Conflict Management' }}
{{ $subtitle ?? 'Review, audit, and manage all conflict checks and outcomes.' }}
Check ID
Status
Requested By
Terms
Matches
Notes
Actions
Created
@forelse(($checks ?? []) as $check)
@php
$status = $check->status ?? 'Pending';
$statusClass = $status === 'Cleared'
? 'status-cleared'
: ($status === 'Conflict Found' ? 'status-conflict' : 'status-pending');
$requestedBy = $check->requester_name ?? ('User #' . ($check->requested_by ?? '—'));
$canDecide = ($canResolve ?? false) && $status === 'Pending Review';
@endphp
@if($canResolve ?? false)
@else
#{{ $check->id }}
{{ $status }}
{{ $requestedBy }}
{{ $check->term_count ?? 0 }}
{{ $check->result_count ?? 0 }}
{{ $check->notes ?: '—' }}
Partner access required
{{ \Illuminate\Support\Carbon::parse($check->created_at)->format('M d, Y H:i') }}
@endif
@empty
No conflict checks found.
@endforelse
@endsection