perbaikan laporan penilai dan print out

This commit is contained in:
majid
2025-01-09 10:18:52 +07:00
parent 029260bcef
commit a74f5bff5f
15 changed files with 656 additions and 328 deletions

View File

@@ -266,11 +266,21 @@
@include('lpj::penilai.components.foto-lampiran')
<div class="flex justify-start gap-5">
<div class="flex card-footer justify-end gap-5">
<a class="btn btn-success" onclick="saveMemo()">
SAVE
</a>
@if (Auth::user()->hasAnyRole(['senior-officer']))
<a href="_blank" class="btn btn-warning">
Revisi
</a>
<a class="btn btn-primary"
onclick="checkLaporan('{{ $permohonan->id }}', '{{ request('documentId') }}', '{{ request('inspeksiId') }}', {{ request('jaminanId') }}, )">
<i class="ki-filled ki-printer"></i> Print
</a>
@endif
</div>
</form>
</div>
@endsection
@@ -333,8 +343,7 @@
confirmButtonText: 'OK'
}).then((response) => {
if (response.isConfirmed) {
window.location.href =
'{{ route('penilai.show', ['id' => $permohonan->id]) }}';
window.location.reload();
}
});
} else {