{{-- Admin vendor verification control panel --}} @php $vs = $verificationStats ?? []; $levelLabels = [1 => 'Basic Vendor', 2 => 'KYC Submitted', 3 => 'Fully Verified']; @endphp
Verification & Controls
Full KYC Review
Verification Level Level {{ $vendor->verification_level ?? 1 }}
{{ $levelLabels[$vendor->verification_level ?? 1] ?? 'Basic' }}
KYC Status {{ $vs['kyc_label'] ?? ucwords(str_replace('_', ' ', $vendor->normalizedKycStatus())) }}
Trust Score {{ $vendor->trust_score ?? 0 }}/100
{{ $vs['trust_tier_label'] ?? ucfirst($vendor->trust_tier ?? 'bronze') }}
Products {{ $vs['product_count'] ?? $vendor->products_count ?? 0 }} @if($vs['product_limit'] ?? null)
/ {{ $vs['product_limit'] }} limit
@else
Unlimited
@endif
Store Health{{ $vs['store_health'] ?? 0 }}%
Bank Verified: @if($vendor->bank_verified) Yes @else No @endif
Seller Type: {{ ucfirst($vendor->seller_type ?? 'individual') }}
@if(in_array($vendor->normalizedKycStatus(), ['under_review', 'not_submitted', 'rejected']))
@csrf
@endif @if($vendor->normalizedKycStatus() === 'under_review') @endif @if(!$vendor->bank_verified && $vendor->bank_document_path)
@csrf
@endif
@csrf
@if($vendor->is_approved)
@csrf
@else
@csrf
@endif
@csrf
Payouts (₹{{ number_format($vs['pending_payouts'] ?? 0, 0) }} pending)
@if(($vs['on_hold_payouts'] ?? 0) > 0)
{{ $vs['on_hold_payouts'] }} withdrawal(s) on 5-day security hold.
@endif
@if(in_array($vendor->normalizedKycStatus(), ['under_review', 'rejected']) || $vendor->kycDocuments->count())
KYC Documents ({{ $vendor->kycDocuments->count() }})
@forelse($vendor->kycDocuments as $doc)
{{ ucwords(str_replace('_', ' ', $doc->document_type)) }}
{{ $doc->original_filename }}
Download
@empty
No documents uploaded yet.
@endforelse
@if($vendor->normalizedKycStatus() === 'rejected' && $vendor->kyc_rejection_reason) @endif
@endif