@extends('layouts.admin-sidebar') @section('title', 'KYC Analytics') @section('page-title', 'KYC Analytics') @section('page-description', 'Comprehensive analytics and insights on KYC verification trends') @section('content')
Back to KYC Management

Total Submissions

{{ number_format($analytics['total_submissions']) }}

{{ $analytics['weekly_growth'] > 0 ? '+' : '' }}{{ number_format($analytics['weekly_growth'], 1) }}% this week

Approval Rate

{{ number_format($analytics['approval_rate'], 1) }}%

{{ number_format($analytics['approved_count']) }} approved

Avg Processing Time

{{ $analytics['avg_processing_time'] }}h

Last 30 days

Pending Queue

{{ number_format($analytics['pending_count']) }}

{{ $analytics['urgent_count'] }} urgent (>48h)

Submissions Over Time

Chart visualization would be rendered here

Integration with Chart.js or similar library

Verification Types

@foreach($analytics['type_distribution'] as $type => $data)
{{ strtoupper($type) }}
{{ number_format($data['count']) }}
{{ number_format($data['percentage'], 1) }}%
@endforeach

Provider Performance

@foreach($analytics['provider_performance'] as $provider) @endforeach
Provider Total Requests Success Rate Avg Response Time Status
{{ strtoupper(substr($provider['name'], 0, 2)) }}
{{ $provider['name'] }}
{{ number_format($provider['total_requests']) }}
{{ number_format($provider['success_rate'], 1) }}%
{{ $provider['avg_response_time'] }}ms @if($provider['status'] === 'active') Active @else Inactive @endif

Recent Activity

View all
@foreach($analytics['recent_activity'] as $activity)
@if($activity['type'] === 'approved') @elseif($activity['type'] === 'rejected') @else @endif

{{ $activity['description'] }}

{{ $activity['admin'] }} • {{ $activity['time'] }}

View
@endforeach
@endsection