main
Ilham Wara Nugroho 2026-03-11 09:57:39 +07:00
parent ded2269fa3
commit 7e0fa37c93
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@
<div class="flex flex-col w-full justify-center items-start gap-2"> <div class="flex flex-col w-full justify-center items-start gap-2">
<input type="file" accept=".xls,.xlsx" value="{{@$item->file ? @$item->file : old('file')}}" name="file" class="p-2 w-full bg-white rounded border @error('file') is-invalid @enderror" placeholder="Masukan File Dataset" {{ @$item ? '' : 'required' }} > <input type="file" accept=".xls,.xlsx" value="{{@$item->file ? @$item->file : old('file')}}" name="file" class="p-2 w-full bg-white rounded border @error('file') is-invalid @enderror" placeholder="Masukan File Dataset" {{ @$item ? '' : 'required' }} >
<small><i>Masukan Ekstensi File : .xls,.xlsx</i></small> <small><i>Masukan Ekstensi File : .xls,.xlsx</i></small>
<div class="p-2 bg-red-500 flex text-red-600">
<i data-lucide="info" class="w-4 h-4 mr-2"></i> <p>Pastikan file template di save as ke format Excel 94-2004 / 2003 .xls</p>
</div>
@if(@$item) @if(@$item)
<a href="{{url('opendata/dataset/download/'.encode_id(@$item->DatasetId))}}" class="p-2 bg-blue-500 rounded text-white flex items-center"><i data-lucide="download" class="w-4 h-4 mr-2"></i>Download File</a> <a href="{{url('opendata/dataset/download/'.encode_id(@$item->DatasetId))}}" class="p-2 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 @endif