@extends('layouts.admin')
@section('title', 'License '.$license->license_key)
@section('heading', 'License Detail')
@section('subheading', 'View and manage license information and actions')
@php
$canManage = auth()->user()?->isOwner() ?? false;
@endphp
@section('content')
{{-- No items-start: the right grid cell must stretch to the height of
the main column or the sticky actions panel has no room to travel. --}}
{{-- ── Main column ─────────────────────────────────────────── --}}
@include('licenses.partials.overview')
@include('licenses.partials.timeline')
{{-- ── Actions column ──────────────────────────────────────── --}}
@if ($canManage)
@include('licenses.partials.actions')
@else
{{-- Viewers can read everything; the state-changing routes
are owner-only, so the panel is not rendered for them
rather than rendered and refused. --}}
Owner Actions
Renewing, suspending or revoking this license requires the owner account.
Back to licenses
Return to all licenses list
@endif
@if ($canManage)
@include('licenses.partials.confirm')
@endif
{{-- ── Toast ───────────────────────────────────────────────────── --}}
@endsection