@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- Manual: Layout manual --}} {{-- Section Content --}} @section('content') {{-- Title updated for Edit page --}} @include('layouts.navbars.auth.topnav', ['title' => 'Edit Pengajuan Permohonan']) @push('css') {{-- Flatpickr --}} {{-- Photoswipe --}} {{-- Form Lampiran --}} @endpush
Form Edit Pengajuan Permohonan
{{-- Form pengajuan --}}
@csrf @method('POST') {{-- Hidden input for encrypted ID --}} {{-- ====================================================================== --}} {{-- ===================== SHARED MOVABLE ELEMENTS ======================== --}} {{-- ====================================================================== --}} {{-- SHARED TEXTAREA (Only for Izin now) --}} {{-- SHARED DATE-TIME PICKER ROW --}}
{{-- Kategori Izin/Tugas --}}
Pilih untuk menampilkan formulir yang sesuai @error('kategori_perizinan_id') {{ $message }} @enderror
{{-- ====================================================================== --}} {{-- =================== CONTAINER UNTUK FORMULIR IZIN ==================== --}} {{-- ====================================================================== --}} {{-- ====================================================================== --}} {{-- ================= CONTAINER UNTUK FORMULIR TUGAS =================== --}} {{-- ====================================================================== --}} {{-- ====================================================================== --}} {{-- ===================== BAGIAN BERSAMA (SHARED) ====================== --}} {{-- ====================================================================== --}} {{-- Elemen Tabel Tanggal. Dimulai dalam keadaan tersembunyi. JS akan memindahkannya. --}} {{-- ========================================================== --}} {{-- ===================== START: ALL MODALS ================== --}} {{-- ========================================================== --}} {{-- ======================================================== --}} {{-- ===================== END: ALL MODALS ================== --}} {{-- ======================================================== --}} {{-- Tombol Kembali dan Simpan --}}
@if ($authorize->edit == '1') @endif
{{-- Card Footer to show remaining edits (unique to edit form) --}}
@endsection @push('js') {{-- Flatpickr --}} {{-- Photoswipe & Form Lampiran --}} {{-- ================================================================== --}} {{-- STANDALONE BULLETPROOF PROTECTION SCRIPT --}} {{-- Self-contained: does NOT depend on the DOMContentLoaded closure. --}} {{-- Protects the pengaju (current user) from being unselected via --}} {{-- Select Search modal for Acara Khusus (Kategori 1 + Jenis Izin 4) --}} {{-- and Tugas Pribadi (Kategori 2 + pribadi). --}} {{-- ================================================================== --}} @endpush