From 320dba9d9c63968a83f2cd520c5d24d78cf92c5d Mon Sep 17 00:00:00 2001 From: majid Date: Wed, 21 May 2025 10:57:25 +0700 Subject: [PATCH] fix navigation buttons back, in file memo, rap-penilai, resume, sla, show, and header --- resources/views/penilai/components/memo.blade.php | 2 +- resources/views/penilai/components/rap-penilai.blade.php | 3 --- resources/views/penilai/components/resume.blade.php | 2 +- resources/views/penilaian/otorisator/show.blade.php | 4 ++-- resources/views/penilaian/otorisator/sla.blade.php | 2 +- resources/views/surveyor/components/header.blade.php | 8 +++++--- 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/resources/views/penilai/components/memo.blade.php b/resources/views/penilai/components/memo.blade.php index 4bf608d..d24c23e 100644 --- a/resources/views/penilai/components/memo.blade.php +++ b/resources/views/penilai/components/memo.blade.php @@ -19,7 +19,7 @@ @endphp @if (Auth::user()->hasAnyRole(['administrator', 'senior-officer', 'EO Appraisal', 'DD Appraisal']) && Route::currentRouteName('otorisator.show')) - Back diff --git a/resources/views/penilai/components/rap-penilai.blade.php b/resources/views/penilai/components/rap-penilai.blade.php index 2f684f7..e77ee29 100644 --- a/resources/views/penilai/components/rap-penilai.blade.php +++ b/resources/views/penilai/components/rap-penilai.blade.php @@ -19,9 +19,6 @@

RAP

- - Back - diff --git a/resources/views/penilai/components/resume.blade.php b/resources/views/penilai/components/resume.blade.php index 033dbf9..37cfd69 100644 --- a/resources/views/penilai/components/resume.blade.php +++ b/resources/views/penilai/components/resume.blade.php @@ -57,7 +57,7 @@ @if (Auth::user()->hasAnyRole(['administrator', 'senior-officer', 'EO Appraisal', 'DD Appraisal']) && Route::currentRouteName('otorisator.show')) - Back diff --git a/resources/views/penilaian/otorisator/show.blade.php b/resources/views/penilaian/otorisator/show.blade.php index cf027b1..ca79239 100644 --- a/resources/views/penilaian/otorisator/show.blade.php +++ b/resources/views/penilaian/otorisator/show.blade.php @@ -159,7 +159,7 @@ @if ($dataHeader == 'pelaporan') + href="{{ route('otorisator.view-laporan') }}?permohonanId={{ $permohonan->id }}&documentId={{ $documentId }}&jaminanId={{ $jenisJaminanId }}&statusLpj={{ true }}&header={{ $header ?? '' }}"> Lihat Laporan @if (Auth::user()->hasAnyRole(['administrator', 'senior-officer']) && $permohonan->approval_so == 0) @@ -203,7 +203,7 @@ + href="{{ route('otorisator.view-laporan') }}?permohonanId={{ $permohonan->id }}&documentId={{ $documentId }}&jaminanId={{ $jenisJaminanId }}&statusLpj={{ true }}&header={{ $header ?? '' }}"> Lihat resume diff --git a/resources/views/penilaian/otorisator/sla.blade.php b/resources/views/penilaian/otorisator/sla.blade.php index e119b58..eabe6f5 100644 --- a/resources/views/penilaian/otorisator/sla.blade.php +++ b/resources/views/penilaian/otorisator/sla.blade.php @@ -161,7 +161,7 @@ @if ($dataHeader == 'pelaporan') + href="{{ route('otorisator.view-laporan') }}?permohonanId={{ $permohonan->id }}&documentId={{ $documentId }}&inspeksiId={{ $inspeksiId }}&jaminanId={{ $jenisJaminanId }}&statusLpj={{ true }}&header={{ $header }}"> Lihat Laporan @endif diff --git a/resources/views/surveyor/components/header.blade.php b/resources/views/surveyor/components/header.blade.php index 032bbb1..067a0ef 100644 --- a/resources/views/surveyor/components/header.blade.php +++ b/resources/views/surveyor/components/header.blade.php @@ -9,6 +9,8 @@
@php use Illuminate\Support\Facades\Route; + + // dd(request('header')); @endphp @if (isset($id)) @@ -16,13 +18,13 @@ @else @if (Auth::user()->hasAnyRole(['administrator', 'senior-officer', 'EO Appraisal', 'DD Appraisal']) && - Request::is('otorisator/show/*/Pelaporan')) - Back @elseif (Auth::user()->hasAnyRole(['administrator', 'surveyor', 'penilai'])) - @if (Request::is('surveyor/inspeksi/*/create') && request()->has('dokument') && request()->has('jenis_jaminan')) + @if (Request::is('surveyor/inspeksi/*/create') && request()->has('documentId') && request()->has('jenis_jaminan')) Back