perbaikan back halaman di otorisator so dan penambahan nilai likuidasi di resume
This commit is contained in:
@@ -7,19 +7,17 @@
|
||||
@section('content')
|
||||
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
|
||||
@if (Auth::user()->hasAnyRole(['senior-officer']))
|
||||
@include('lpj::component.detail-jaminan', [
|
||||
'backLink' => 'otorisator.view-laporan',
|
||||
'queryParams' => [
|
||||
'permohonanId' => request()->query('permohonanId'),
|
||||
'documentId' => request()->query('documentId'),
|
||||
'inspeksiId' => request()->query('inspeksiId'),
|
||||
'jaminanId' => request()->query('jaminanId'),
|
||||
'statusLpj' => 1,
|
||||
],
|
||||
'title' => 'Paparan dokument',
|
||||
])
|
||||
|
||||
|
||||
@include('lpj::component.detail-jaminan', [
|
||||
'backLink' => 'otorisator.view-laporan',
|
||||
'queryParams' => [
|
||||
'permohonanId' => request()->query('permohonanId'),
|
||||
'documentId' => request()->query('documentId'),
|
||||
'inspeksiId' => request()->query('inspeksiId'),
|
||||
'jaminanId' => request()->query('jaminanId'),
|
||||
'statusLpj' => 1,
|
||||
],
|
||||
'title' => 'Paparan dokument',
|
||||
])
|
||||
@else
|
||||
@include('lpj::component.detail-jaminan', [
|
||||
'backLink' => 'penilai.show',
|
||||
@@ -29,5 +27,31 @@
|
||||
@endif
|
||||
|
||||
@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
|
||||
|
||||
Reference in New Issue
Block a user