@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
{{ $isViewOnly ? 'Data Surat Teguran / Peringatan' : 'Informasi surat teguran / peringatan' }}