@extends('layouts.app') @section('content') @include('layouts.navbars.auth.topnav', ['title' => $title ?? '']) @php $historyIdRaw = (int) ($history['id'] ?? 0); $historyIdEncrypted = \App\Helpers\Function_Helper::encryptUrlId($historyIdRaw); $violationType = $history['violation_type'] ?? ''; $isUnsafeAction = $violationType === 'UA' || strtolower(str_replace([' ', '-', '_'], '', $violationType)) === 'unsafeaction'; $jenisSurat = $isUnsafeAction ? 'Unsafe Action' : ''; @endphp
Ubah data unsafe action