@extends('layouts.app') @section('title', 'Download Logs') @section('nav-items')
  • Dashboard
  • Users
  • Divisions
  • Logos
  • Company Profile
  • Download Requests
  • Marketing Requests
  • Media
  • @endsection @section('styles') @endsection @section('content')
    {{ $stats['total_downloads'] }}
    Successful Downloads
    {{ $stats['failed_attempts'] }}
    Failed Attempts
    {{ $stats['with_otp'] }}
    With OTP
    {{ $stats['without_otp'] }}
    Without OTP
    @if(request()->hasAny(['resource_type', 'success', 'otp_verified']))
    Clear Filters
    @endif
    @forelse($logs as $log) @empty @endforelse
    User Resource Type OTP Verified Status IP Address Date
    {{ $log->resource_name }}
    {{ str_replace('_', ' ', $log->resource_type) }} @if($log->otp_verified) Yes @else No @endif @if($log->success) Success @else Failed @endif {{ $log->ip_address }}
    {{ $log->created_at->format('M d, Y') }}
    {{ $log->created_at->format('g:i A') }}

    No download logs found

    @if($logs->hasPages())
    {{ $logs->links() }}
    @endif @endsection