main
Ilham Wara Nugroho 2026-03-04 09:26:01 +07:00
parent 5097d918d7
commit 260faeb641
1 changed files with 5 additions and 1 deletions

View File

@ -44,7 +44,11 @@
<div class="flex items-center gap-3">
<div class="text-sm"><b>File</b></div>
<div>
@if(@$item->tahun >= 2026)
<a href="{{url('opendata/dataset/download/'.encode_id(@$item->DatasetId))}}" class="p-1 bg-blue-500 rounded text-white flex items-center"><i data-lucide="download" class="w-4 h-4 mr-2"></i>Download File</a>
@else
<a href="{{asset('uploads/'.@$item->file)}}" class="p-1 bg-blue-500 rounded text-white flex items-center"><i data-lucide="download" class="w-4 h-4 mr-2"></i>Download File</a>
@endif
</div>
</div>
</div>