update
parent
b6c0920637
commit
1231f8cbee
|
|
@ -1749,7 +1749,10 @@ if (!function_exists('formKriteria')) {
|
|||
if(@$checkFile){
|
||||
$html .= '<div class="mb-3 file-item d-flex justify-content-between align-items-center">
|
||||
<label class="fw-500">Dokumen '.$data->judul.'</label>
|
||||
<div class="d-flex gap-2">
|
||||
<a class="text-white btn btn-sm bg-primary" data-title="'.$data->judul.'" data-target="#modal" data-type="'.$extension[1].'" data-fancybox href="' . url('fileasset?path=/' . $checkFile->value) . '"href="#"><i class="fal fa-eye"></i> Preview</a>
|
||||
<a class="text-white btn btn-sm bg-success" data-title="'.$data->judul.'" data-type="'.$extension[1].'" href="' . url('fileasset?path=/' . $checkFile->value) . '"href="#"><i class="fal fa-download"></i> Download</a>
|
||||
</div>
|
||||
</div>
|
||||
<hr>';
|
||||
}
|
||||
|
|
@ -1771,7 +1774,10 @@ if (!function_exists('formKriteria')) {
|
|||
if(@$checkFile){
|
||||
$html .= '<div class="mb-3 file-item d-flex justify-content-between align-items-center">
|
||||
<label class="fw-500">Dokumen '.$dataOption.'</label>
|
||||
<div class="d-flex gap-2">
|
||||
<a class="text-white btn btn-sm bg-primary" data-fancybox href="' . url('fileasset?path=/' . $checkFile->value) . '" href="#"><i class="fal fa-eye"></i> Preview</a>
|
||||
<a class="text-white btn btn-sm bg-success" href="' . url('fileasset?path=/' . $checkFile->value) . '" href="#"><i class="fal fa-download"></i> Download</a>
|
||||
</div>
|
||||
</div>
|
||||
<hr>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue