From ee2e5e81e020ba1a42422eb592e26a790f854728 Mon Sep 17 00:00:00 2001 From: majid Date: Tue, 25 Mar 2025 09:38:02 +0700 Subject: [PATCH 1/2] fix(surveyor):perbaikkan surveyor jadwal --- resources/views/surveyor/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/surveyor/index.blade.php b/resources/views/surveyor/index.blade.php index 0712744..d58b792 100644 --- a/resources/views/surveyor/index.blade.php +++ b/resources/views/surveyor/index.blade.php @@ -628,7 +628,7 @@ `; } } else if (data.status === 'approved-reschedule' || data.status === - 'rejected-reschedule') { + 'rejected-reschedule' || data.status === 'request-jadwal') { actionHtml += ` Menunggu Pemohon `; From 12a13c52640a0df3adef59f7ebd69ee53f843c37 Mon Sep 17 00:00:00 2001 From: majid Date: Tue, 25 Mar 2025 10:07:27 +0700 Subject: [PATCH 2/2] fix(so):perbaikkan otorisator sesuai limit --- resources/views/penilaian/otorisator/show.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/penilaian/otorisator/show.blade.php b/resources/views/penilaian/otorisator/show.blade.php index 45bfc0a..384de20 100644 --- a/resources/views/penilaian/otorisator/show.blade.php +++ b/resources/views/penilaian/otorisator/show.blade.php @@ -172,7 +172,7 @@ @if (Auth::user()->hasAnyRole(['administrator', 'EO Appraisal']) && $permohonan->approval_so && $permohonan->approval_eo == 0 && - in_array($permohonan->nilai_plafond_id, [1, 2])) + in_array($permohonan->nilai_plafond_id, [1, 2, 4])) @endif - @if (Auth::user()->hasAnyRole(['administrator', 'EO Appraisal']) && $authorization->approve_so && $authorization->approve_eo == null && in_array($permohonan->nilai_plafond_id, [1, 2])) + @if (Auth::user()->hasAnyRole(['administrator', 'EO Appraisal']) && $authorization->approve_so && $authorization->approve_eo == null && in_array($permohonan->nilai_plafond_id, [1, 2,4]))