From db0ba8cc4014ffe38986b34499a0c58548b06722 Mon Sep 17 00:00:00 2001 From: majid Date: Fri, 21 Mar 2025 13:55:45 +0700 Subject: [PATCH] fix(sla): perbaikkan freeze penilai --- resources/views/penilai/index.blade.php | 11 ++++++++--- resources/views/penilai/show.blade.php | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/resources/views/penilai/index.blade.php b/resources/views/penilai/index.blade.php index 3c199ff..3082862 100644 --- a/resources/views/penilai/index.blade.php +++ b/resources/views/penilai/index.blade.php @@ -250,15 +250,20 @@ `; - } else if (data.status === 'freeze' || data.status === 'request-freeze') { + } else if (data.status === 'request-freeze') { return `
`; - } else - { + }else if(data.status === 'freeze'){ + return `
+ + + +
` + } else{ return `
diff --git a/resources/views/penilai/show.blade.php b/resources/views/penilai/show.blade.php index 2a4a155..853834f 100644 --- a/resources/views/penilai/show.blade.php +++ b/resources/views/penilai/show.blade.php @@ -223,6 +223,7 @@ href="{{ route('penilai.lampiran') }}?permohonanId={{ $permohonan->id }}&documentId={{ $dokumen->id }}&jaminanId={{ $dokumen->jenis_jaminan_id }}"> Lampiran Foto dan Dokumen + @if ($permohonan->status != 'freeze') @if (strtolower($permohonan->tujuanPenilaian->name) != 'rap') Kertas Kerja @@ -358,6 +359,7 @@
@endif @endif + @endif
@@ -382,6 +384,7 @@
@endforeach + @if ($permohonan->status != 'freeze')
@@ -395,6 +398,7 @@ REVISI
+ @endif