@php $items = \App\Models\Backend\ContentDownload::where('download_status', 'ACTIVE')->where('download_language', $lang)->whereIn('download_category', ['REPORT', 'POLICY', 'MANUAL'])->orderBy('download_date', 'desc')->get(); $categories = \App\Models\Backend\Ref::where('cat', 'DOWNLOAD_CAT')->orderBy('sort')->pluck('descr', 'code'); @endphp @if($items->count())
Penerbitan

Penerbitan

Koleksi laporan, dasar dan manual rasmi.

@foreach($items as $item)
{{ $item->download_title }} {{ $categories[$item->download_category] ?? $item->download_category }} @if($item->download_source){{ $item->download_source }}@endif
@if($item->download_file) Muat Turun @else Segera @endif
@endforeach
@else

Tiada Penerbitan

Tiada penerbitan buat masa ini.

Kembali
@endif