perbaikan form inspeksi dan ganti surveyor

This commit is contained in:
majid
2025-02-17 12:07:26 +07:00
parent f567e3da40
commit f626aeecfe
3 changed files with 9 additions and 8 deletions

View File

@@ -7,14 +7,15 @@
{{ $title }}
</h3>
<div class="flex items-center gap-2">
@php
use Illuminate\Support\Facades\Route;
@endphp
@if (isset($id))
<a href="{{ route($backLink, ['id' => $id]) }}" class="btn btn-xs btn-info">
<i class="ki-filled ki-exit-left"></i> Back
</a>
@else
@php
use Illuminate\Support\Facades\Route;
@endphp
@if (Auth::user()->hasAnyRole(['administrator', 'senior-officer', 'EO Appraisal', 'DD Appraisal']) &&
Route::currentRouteName('otorisator.show'))
<a href="{{ route('otorisator.show', ['id' => $permohonan->id, 'type' => 'Pelaporan']) }}"