@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
@include('components.alert')
@php // detkat berisi ENCRYPTED id_detkat dari list page $detkatPlain = request('detkat_id') ?? request('id_detkat'); $detailName = ''; if ($detkatPlain) { $found = $detkatList->firstWhere('id', $detkatPlain); if ($found) { $detailName = $found->detail; } } // jika datang dari detail, field dibuat readonly $lockDetkat = !empty($detkatPlain); @endphp @csrf

Insert {{ $title_menu }}


{{-- SUB ID --}}
{{-- ID DETAIL KATEGORI (SEARCH MODAL) --}}
{{-- value yang disimpan ke DB --}} {{-- value yang tampil --}}
@if (!$lockDetkat) @else @endif
@error('id_detkat')

{{ $message }}

@enderror
{{-- MODUL --}}
@error('modul')

{{ $message }}

@enderror
{{-- PIC (SEARCH MODAL) --}}
@error('pic')

{{ $message }}

@enderror

{{-- MODAL DETAIL KATEGORI --}} {{-- MODAL PIC --}} @endsection @push('js') @endpush