@forelse($licenses as $license)
@php
$latest = $license->product->latestVersion;
$isLast = $loop->last;
@endphp
{{-- Icon --}}
{{ $typeIcons[$license->product->type??'-']??'-' }}
{{-- Info --}}
{{ $license->product->name }}
@if($latest)
v{{ $latest->version }}
.
{{ number_format($latest->file_size / 1024 / 1024, 1) }} MB
.
Stable
@else
No file available yet
@endif
{{-- Status + Download --}}
{{ ucfirst($license->status) }}
@if($latest && $latest->file_path)
Download
@else
No file
@endif