{{ $generatedToken }}
| Nome | Azienda | Stato | Ultimo uso | Rate/min | Consumo | Finale token | Azioni |
|---|---|---|---|---|---|---|---|
| {{ $apiKey->name }} | {{ $apiKey->company_name ?? '-' }} | {{ $apiKey->is_active ? 'Attiva' : 'Disattiva' }} | {{ $apiKey->last_used_at?->format('d/m/Y H:i') ?? '-' }} | {{ $apiKey->meta['rate_limit_per_minute'] ?? 60 }} |
@if($apiKey->quota_mode)
@php($residue = $apiKey->callsRemaining())
@php($esaurita = $apiKey->isQuotaExhausted())
{{ (int) $apiKey->calls_used }} /
{{ (int) ($apiKey->calls_limit ?? 0) }}
Residue:
{{ $residue ?? 0 }}
@if($esaurita)
Quota esaurita
@else
Quota OK
@endif
@else
Illimitate
@endif
|
****{{ $apiKey->last_four }} | @if($apiKey->quota_mode) @endif |
| Nessuna chiave API presente. | |||||||
Per eliminare la chiave inserisci il nome esatto: {{ $pendingApiKey?->name ?? 'Chiave non trovata' }}
@error('deleteConfirmationName') {{ $message }} @enderror