@extends('layouts.admin') @section('title', 'Licencias — Admin') @section('content')
{{ $c['val'] }}
| Licencia | Cliente | Dominio | Plan | Estado | Expiración | Último Check | Acciones |
|---|---|---|---|---|---|---|---|
{{ $lic->license_key }}
|
{{ $lic->client_name }} @if($lic->client_email){{ $lic->client_email }} @endif |
{{ $lic->domain }} | @php $planObj = $lic->getRelation('plan'); @endphp @if($planObj) {{ strtoupper($planObj->name) }} @else N/A @endif | @php $statusColors = [ 'active' => 'bg-green-500/20 text-green-400', 'suspended' => 'bg-yellow-500/20 text-yellow-400', 'expired' => 'bg-red-500/20 text-red-400', 'revoked' => 'bg-red-500/20 text-red-400', ]; @endphp {{ ucfirst($lic->status) }} | {{ $lic->expires_at ? $lic->expires_at->format('d/m/Y') : 'Sin expiración' }} | {{ $lic->last_check_at ? $lic->last_check_at->diffForHumans() : 'Nunca' }} | |
|
No hay licencias registradas |
|||||||