44 lines
1.5 KiB
PHP
44 lines
1.5 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('breadcrumbs')
|
|
{{ Breadcrumbs::render(request()->route()->getName()) }}
|
|
@endsection
|
|
@section('content')
|
|
@include('lpj::assetsku.includenya')
|
|
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
|
|
@include('lpj::component.detail-jaminan', [
|
|
'backLink' => 'penilai.show',
|
|
'id' => $permohonan->id,
|
|
'title' => 'Paparan dokument',
|
|
])
|
|
@include('lpj::penilai.components.foto-lampiran')
|
|
|
|
|
|
<div class="card">
|
|
<div class="card-header bg-agi-50 uppercase">
|
|
Kertas Kerja
|
|
</div>
|
|
<div class="card-body flex items-center justify-between">
|
|
@php
|
|
$url = '';
|
|
$fileName = '';
|
|
if ($penilai && $penilai->kertas_kerja) {
|
|
$url = asset('storage/' . $penilai->kertas_kerja);
|
|
$fileName = basename($penilai->kertas_kerja);
|
|
}
|
|
@endphp
|
|
|
|
@if ($penilai && $penilai->kertas_kerja)
|
|
<button type="button" class="btn btn-primary" onclick="window.open('{{ $url }}', '_blank')">
|
|
<i class="ki-outline ki-cloud-download"></i>
|
|
Lihat Kertas Kerja</button>
|
|
|
|
<p class="text-2sm text-gray-700">{{ $fileName }}</p>
|
|
@else
|
|
<p class="text-2sm text-gray-700">Belum ada kertas kerja</p>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|