@extends('layouts.app') @section('content') @include('layouts.navbars.auth.topnav', ['title' => $title ?? '']) @php $isViewOnly = !empty($view_only); $spViewData = $sp_form_data ?? ($sp ?? []); // dd($spViewData); $currentSpId = (int) ($sp['id'] ?? ($sp_form_data['id'] ?? 0)); $currentSpEncId = $currentSpId > 0 ? \App\Helpers\Function_Helper::encryptUrlId($currentSpId) : ''; @endphp
{{-- Form Fields Card --}}
{{ $isViewOnly ? 'Informasi Surat' : 'Detail Surat' }}

{{ $isViewOnly ? 'Data Surat Teguran / Peringatan' : 'Informasi surat teguran / peringatan' }}

@if($isViewOnly && !empty($currentSpId)) Kembali @endif

{{-- Jenis Surat & Nama Karyawan --}}
{{-- Head Of Department & Tanggal Surat --}}
{{-- Nomor Surat & Level Surat --}}
{{-- Keterangan HRD --}}
{{-- PKB & Jenis Pelanggaran --}} @if($spViewData['pkb_label'] != '-')
@endif
{{-- MODAL - Preview Surat --}} @push('js') @endpush @endsection