13 lines
1.2 KiB
PHP
13 lines
1.2 KiB
PHP
@extends('licensing::customer.layout')
|
|
@section('title', 'Licence Details')
|
|
@section('content')
|
|
<p><a href="{{ route('account.sonardesk.index') }}">← My licences</a></p>
|
|
<h1>SonarDesk {{ $license->edition }}</h1>
|
|
<div class="card"><h2>Licence</h2><p><strong>Key ending:</strong> {{ $license->license_key_last4 ?? '—' }}</p><p><strong>Status:</strong> {{ $license->revoked_at ? 'Revoked' : ($license->is_usable ? 'Usable' : 'Expired') }}</p><p><strong>Subscription:</strong> {{ $license->subscription_status ?? 'Not linked' }}</p><p><strong>Current period ends:</strong> {{ $license->current_period_ends_at?->format('d M Y') ?? '—' }}</p><p><strong>Activation limit:</strong> {{ $license->activation_limit }}</p><p class="muted">Full licence keys are not displayed or recoverable from their stored hashes.</p></div>
|
|
<div class="card scroll"><h2>Devices</h2><table><thead><tr><th>Installation</th><th>Status</th></tr></thead><tbody>
|
|
@forelse($license->activations as $activation)
|
|
<tr><td>{{ $activation->installation_id ?? $activation->installationID ?? 'Device' }}</td><td>{{ $activation->deactivated_at ? 'Deactivated' : 'Active' }}</td></tr>
|
|
@empty<tr><td colspan="2">No activations recorded.</td></tr>@endforelse
|
|
</tbody></table></div>
|
|
@endsection
|