@extends('layouts.app') @section('title', 'Licenses') @section('breadcrumb') @endsection @section('content')
Reset
@forelse($licenses as $license) @empty @endforelse
License Key Customer Type Expiry Users Servers Status Actions
{{ $license->license_key }} @if($license->days_until_expiry !== null && $license->days_until_expiry <= 7) Expires soon @endif {{ $license->customer?->company_name }} {{ ucfirst($license->license_type) }} @if($license->license_type === 'lifetime') Lifetime @else {{ $license->expiry_date?->format('d M Y') }} @if($license->days_until_expiry !== null)
{{ $license->days_until_expiry }}d left @endif @endif
{{ $license->max_users }} {{ $license->activeServers->count() }}/{{ $license->max_servers }} {{ ucfirst($license->status) }}
@can('license.edit') @endcan
No licenses found.
{{ $licenses->links('pagination::bootstrap-5') }}
@endsection