40 lines
1.4 KiB
PHP
40 lines
1.4 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('breadcrumbs')
|
|
{{-- {{ Breadcrumbs::render(request()->route()->getName()) }} --}}
|
|
@endsection
|
|
|
|
@section('content')
|
|
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
|
|
<div class="card">
|
|
<div class="card-header py-5 flex-wrap">
|
|
<h3 class="card-title">Lihat Laporan</h3>
|
|
<div class="flex items-wrap gap-2.5">
|
|
<a href="{{ route('laporan-penilai-jaminan.index') }}" class="btn btn-xs btn-info"><i
|
|
class="ki-filled ki-exit-left"></i>
|
|
Back</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
|
|
@php
|
|
$laporan = [
|
|
'sederhana' => 'lpj::penilai.components.print-out-sederhana',
|
|
'standar' => 'lpj::penilai.components.print-out-standar',
|
|
'resume' => 'lpj::penilai.components.print-resume',
|
|
'memo' => 'lpj::penilai.components.print-memo',
|
|
'rap' => 'lpj::penilai.components.print-out-rap',
|
|
'call-report' => 'penilai.components.print-out-call-report',
|
|
];
|
|
@endphp
|
|
|
|
@if (array_key_exists($lpj->type_penilai, $laporan))
|
|
@include($laporan[$lpj->type_penilai])
|
|
@else
|
|
<p>Tipe laporan tidak ditemukan.</p>
|
|
@endif
|
|
</div>
|
|
|
|
@endsection
|