@extends('layouts::admin') @section('title', 'Downloads — Umera Certificate Manager') @section('page_title', 'Downloads') @section('page_subtitle', 'Track certificate download activity and engagement') @section('content') @php $maxChartValue = !empty($chart) ? max(array_column($chart, 'value')) : 1; if ($maxChartValue == 0) $maxChartValue = 1; // Prevent division by zero @endphp
Daily certificate downloads over time
Latest certificate download activity
| Participant | Certificate ID | Program | Date & Time | Device | Download # |
|---|---|---|---|---|---|
|
{{ strtoupper(substr($d->certificate->recipient_name ?? 'U', 0, 1)) }}
{{ $d->certificate->recipient_name ?? 'Unknown' }}
|
{{ $d->certificate->certificate_number ?? '—' }} | {{ $d->certificate->program->name ?? 'UmeraBoost 5.0' }} | {{ $d->downloaded_at ? $d->downloaded_at->format('M d, Y H:i') : $d->created_at->format('M d, Y H:i') }} | @php $device = 'Desktop'; if (str_contains(strtolower($d->user_agent), 'mobi')) $device = 'Mobile'; elseif (str_contains(strtolower($d->user_agent), 'tablet') || str_contains(strtolower($d->user_agent), 'ipad')) $device = 'Tablet'; @endphp {{ $device }} | {{ $d->download_method ?? 'portal' }} |
| No downloads found. | |||||