@extends('admin.layouts.app') @section('title', 'KYC Verification | EMI CREDITS') @section('page-title', 'KYC Verification') @section( 'page-description', 'Review and verify client KYC documents' ) @section('content') @push('styles') @endpush
{{-- ===================================================== BACK ====================================================== --}} ← Back to KYC Verification {{-- ===================================================== CLIENT HEADER ====================================================== --}} @php $kyc = $client->clientKyc; $initial = strtoupper( substr( $client->name ?? 'C', 0, 1 ) ); @endphp
{{ $initial }}

{{ $client->name ?? 'Client' }}

✉ {{ $client->email ?? '-' }} ☎ {{ $client->mobile ?? '-' }} 📅 Member since {{ $client->created_at ? $client->created_at->format('d M Y') : '-' }}
{{-- ================================================= STATUS ================================================== --}}
KYC Status @if($kyc && $kyc->status === 'verified') Verified @elseif($kyc && $kyc->status === 'rejected') Rejected @elseif($kyc) Pending @else Not Submitted @endif @if( $kyc && $kyc->status === 'verified' && $kyc->verified_at )
Verified on {{ $kyc->verified_at->format('d M Y, h:i A') }} @if($kyc->verified_by)
Verification completed by Admin @endif
@endif
{{-- ===================================================== KYC DETAILS + DOCUMENTS ====================================================== --}}
{{-- ================================================= KYC DETAILS ================================================== --}}
🪪

KYC Details

@if($kyc)
{{-- AADHAAR --}}
Aadhaar Number {{ $kyc->masked_aadhaar }}
{{-- PAN --}}
PAN Number {{ $kyc->masked_pan }}
{{-- STATUS --}}
KYC Status {{ ucfirst($kyc->status ?? '-') }}
{{-- SUBMITTED --}}
Submitted On {{ $kyc->created_at ? $kyc->created_at->format( 'd M Y, h:i A' ) : '-' }}
{{-- VERIFIED ON --}}
Verified On @if($kyc->verified_at) {{ $kyc->verified_at->format( 'd M Y, h:i A' ) }} @else - @endif
{{-- VERIFIED BY --}}
Verified By @if($kyc->verified_by) Admin @else - @endif
{{-- REJECTION REASON --}} @if($kyc->rejection_reason)
Rejection Reason {{ $kyc->rejection_reason }}
@endif
@else
KYC details have not been submitted by this client.
@endif
{{-- ================================================= DOCUMENTS ================================================== --}}
📁

Documents

{{-- ================================================= AADHAAR ================================================== --}}
Aadhaar Document
@if( $kyc && $kyc->aadhaar_document )
📄 {{ basename( $kyc->aadhaar_document ) }}
Uploaded on {{ $kyc->created_at ? $kyc->created_at->format( 'd M Y' ) : '-' }}
👁   View Aadhaar @else
No Aadhaar document uploaded.
Document unavailable
@endif
{{-- ================================================= PAN ================================================== --}}
PAN Document
@if( $kyc && $kyc->pan_document )
📄 {{ basename( $kyc->pan_document ) }}
Uploaded on {{ $kyc->created_at ? $kyc->created_at->format( 'd M Y' ) : '-' }}
👁   View PAN @else
No PAN document uploaded.
Document unavailable
@endif
{{-- ================================================= CARD UNLOCK PAYMENT ================================================== --}}
💳

Card Unlock Payment

Record EMI card unlock payment manually.
@if($cardUnlockPayment)
✓ Card unlock payment already recorded.
Amount: ₹{{ number_format( (float)$cardUnlockPayment->amount, 2 ) }}
Payment Method: {{ ucwords( str_replace( '_', ' ', $cardUnlockPayment->payment_method ?? '-' ) ) }}
Paid On: {{ optional( $cardUnlockPayment->paid_at )->format('d M Y, h:i A') }} @if($cardUnlockPayment->reference_number)
Reference: {{ $cardUnlockPayment->reference_number }} @endif
@else
Card Unlock Amount: ₹{{ number_format( (float)$cardUnlockAmount, 2 ) }}
@csrf
@endif
{{-- ===================================================== VERIFICATION ACTIONS ====================================================== --}} @if($kyc)
🛡️

Verification Actions

Review the submitted KYC documents and take appropriate action.
{{-- ================================================= VERIFIED ================================================== --}} @if($kyc->status === 'verified')
✓ KYC has already been verified successfully. @if($kyc->verified_at)
Verified on {{ $kyc->verified_at->format( 'd M Y, h:i A' ) }}
@endif
{{-- ================================================= REJECTED ================================================== --}} @elseif($kyc->status === 'rejected')
✕ KYC has been rejected. @if($kyc->rejection_reason)
Reason: {{ $kyc->rejection_reason }}
@endif
{{-- Re-verification --}}
@csrf
{{-- ================================================= PENDING ================================================== --}} @else
{{-- VERIFY --}}
@csrf
{{-- REJECT --}}
@csrf
@endif
@endif
@endsection