@extends('layouts.admin') @section('title', 'Dashboard - MOVA-AUTH') @section('page_title', 'Dashboard') @section('content')
Total Licenses
{{ $stats['total'] }}
Active
{{ $stats['active'] }}
Blocked
{{ $stats['blocked'] }}
Expired
{{ $stats['expired'] }}
Pending
{{ $stats['pending'] }}
Validations 24h
{{ $stats['validations_24h'] }}
Failed 24h
{{ $stats['validations_failed_24h'] }}

Recent license activity

@if ($recentValidations->isEmpty())
No validation activity yet.
@else @foreach ($recentValidations as $v) @endforeach
When Endpoint License Domain / Host IP Result
{{ $v->created_at->diffForHumans() }} {{ $v->endpoint }} @if ($v->license) {{ $v->license_key }} @else {{ $v->license_key ?? '-' }} @endif {{ $v->domain ?? $v->host ?? '-' }} {{ $v->ip ?? '-' }} @if ($v->success) ok @else {{ $v->reason ?? 'fail' }} @endif
@endif

Recently updated licenses

@if ($recentLicenses->isEmpty())
No licenses yet. Create the first one.
@else @foreach ($recentLicenses as $l) @endforeach
Key Customer Domain Status Last seen
{{ $l->license_key }} {{ $l->customer_name }}
{{ $l->customer_email }}
{{ $l->domain ?? '-' }} {{ $l->status }} {{ optional($l->last_seen_at)->diffForHumans() ?? '-' }}
@endif
@endsection