@extends('layouts::admin') @section('title', 'Verification — Umera Certificate Manager') @section('page_title', 'Verification') @section('page_subtitle', 'Monitor certificate verification attempts and results') @section('content') @php // $stats and $verifications are now passed from the controller @endphp
All Time
{{ number_format($stats['total_verifications']) }}
Total Attempts
{{ round(($stats['valid_verifications'] / $stats['total_verifications']) * 100, 1) }}%
{{ number_format($stats['valid_verifications']) }}
Valid Checks
{{ round(($stats['invalid_verifications'] / $stats['total_verifications']) * 100, 1) }}%
{{ number_format($stats['invalid_verifications']) }}
Invalid / Not Found
{{ round(($stats['revoked_checks'] / $stats['total_verifications']) * 100, 1) }}%
{{ number_format($stats['revoked_checks']) }}
Revoked Checks

Recent Verifications

Latest certificate verification activity

@forelse($verifications as $v) @empty @endforelse
Certificate ID Result Source Verifier Date & Time
{{ $v->certificate->certificate_number ?? '—' }} @if($v->status === 'Valid') Valid @elseif($v->status === 'Revoked') Revoked @else Not Found @endif @if($v->source === 'QR Scan') @elseif($v->source === 'LinkedIn') @elseif($v->source === 'WhatsApp') @else @endif {{ ucfirst($v->source) }} @php $verifier = 'Public Portal'; if (str_contains(strtolower($v->user_agent), 'mobi')) $verifier = 'Mobile Device'; if (str_contains(strtolower($v->user_agent), 'linkedin')) $verifier = 'LinkedIn Bot'; @endphp {{ $verifier }} {{ $v->verified_at ? $v->verified_at->format('M d, Y H:i') : $v->created_at->format('M d, Y H:i') }}
No verifications found.
@if($verifications->hasPages())
{{ $verifications->links('pagination::tailwind') }}
@endif

Verification Sources

@php $sources = [ ['name' => 'Direct Link', 'count' => 2184, 'icon' => 'link', 'color' => 'umbera'], ['name' => 'QR Scan', 'count' => 1247, 'icon' => 'qr', 'color' => 'info'], ['name' => 'LinkedIn', 'count' => 498, 'icon' => 'linkedin', 'color' => 'success'], ['name' => 'WhatsApp', 'count' => 156, 'icon' => 'whatsapp', 'color' => 'warning'], ['name' => 'Other', 'count' => 67, 'icon' => 'dots', 'color' => 'neutral'], ]; $totalSrc = array_sum(array_column($sources, 'count')); @endphp @foreach($sources as $s)
{{ $s['name'] }} {{ number_format($s['count']) }}
@endforeach

Security Notice

Invalid verification attempts have increased 18% this week. Consider rate-limiting to prevent abuse.

@endsection