@foreach($items as $item)
@php $isPdf = $item->download_file && strtolower(pathinfo($item->download_file, PATHINFO_EXTENSION)) === 'pdf'; @endphp
{{ $item->download_title }}
{{ $categories[$item->download_category] ?? $item->download_category }}
@if($item->download_source){{ $item->download_source }}@endif
@if($item->download_file)
@else
Segera
@endif
@endforeach