@forelse ($licenses as $license) @empty @endforelse
License Key Customer Product Status Issue Date Expiry Date Revenue Actions
{{ $license->license_key }}
{{ $license->product->name ?? 'N/A' }} License
{{ $license->customer->first_name . ' ' . $license->customer->first_name ?? 'N/A' }}
{{ $license->customer->email ?? '' }}
{{ $license->product->name ?? 'N/A' }} @php $statusClass = match ($license->status) { 'active' => 'active', 'suspended' => 'warning', 'expired' => 'danger', 'cancelled' => 'secondary', 'revoked' => 'danger', default => 'secondary', }; @endphp {{ ucfirst($license->status) }} {{ optional($license->issued_at)->format('M d, Y') }} {{ optional($license->expires_at)->format('M d, Y') }} ${{ number_format($license->product->price ?? 0, 2) }}
No licenses found.
@if ($licenses instanceof \Illuminate\Pagination\LengthAwarePaginator) {{ $licenses->links('layouts.paginate') }} @endif