Conflict Review Status
{{ $proposal->conflictReviews->first() ? $proposal->conflictReviews->first()->getStatusLabel() : 'No Conflict Review' }}
{{ $proposal->conflictReviews->where('status', '!=', 'pending')->count() }}/{{ $proposal->conflictReviews->count() }} lawyers reviewed
view conflict status
Client KYC Status
@if(auth()->user()->hasPermission('clients.update'))
Manage KYC
@endif
@php
$latestKycProcess = $proposal->client->kycProcesses()->latest()->first();
$kycStatusColors = [
'draft' => 'bg-gray-100 text-gray-800',
'sent' => 'bg-blue-100 text-blue-800',
'opened' => 'bg-yellow-100 text-yellow-800',
'completed' => 'bg-orange-100 text-orange-800',
'approved' => 'bg-green-100 text-green-800',
'rejected' => 'bg-red-100 text-red-800',
'expired' => 'bg-red-100 text-red-800',
];
$kycStatusIcons = [
'draft' => '📝',
'sent' => '📤',
'opened' => '👁️',
'completed' => '✅',
'approved' => '🟢',
'rejected' => '❌',
'expired' => '⏰',
];
@endphp
@if($latestKycProcess)
{{ $kycStatusIcons[$latestKycProcess->status] ?? '📋' }} {{ ucfirst($latestKycProcess->status) }}
@if($latestKycProcess->status === 'approved')
Approved {{ $latestKycProcess->approved_at ? $latestKycProcess->approved_at->diffForHumans() : '' }}
@elseif($latestKycProcess->status === 'expired')
Expired {{ $latestKycProcess->status === 'expired' ? $latestKycProcess->expires_at ? $latestKycProcess->expires_at->diffForHumans() : '' : '' }}
@endif
KYC #{{ $latestKycProcess->kyc_number }} • {{ ucfirst($latestKycProcess->type) }}
{{ $latestKycProcess->sent_at ? 'Sent ' . $latestKycProcess->sent_at->diffForHumans() : 'Not sent' }}
@else
📋 No KYC Process
No KYC process initiated for this client
@endif
@if($proposal->valid_until)