diff --git a/resources/views/pg/gate_inspection.blade.php b/resources/views/pg/gate_inspection.blade.php index d732843..78d8c08 100644 --- a/resources/views/pg/gate_inspection.blade.php +++ b/resources/views/pg/gate_inspection.blade.php @@ -44,8 +44,8 @@ - -
+ +
@@ -54,23 +54,15 @@

ANTREAN MENUNGGU

- +
{{ $todayApprovedCount }}
-

DISETUJUI HARI INI

+

DIVALIDASI HARI INI

- -
-
- {{ $todayRejectedCount }} -
-

DITOLAK HARI INI

-
- - +
@@ -319,60 +311,11 @@
@endif -
- - -
- - - -
@@ -456,9 +399,6 @@ } document.getElementById('approveForm').action = `/pg/gate-inspection/${activityId}/approve`; - document.getElementById('rejectForm').action = `/pg/gate-inspection/${activityId}/reject`; - - document.getElementById('rejectForm').classList.add('hidden'); document.getElementById('verificationModal').classList.remove('hidden'); } @@ -467,30 +407,6 @@ isModalOpen = false; } - function showRejectSection() { - const guardSelect = document.getElementById('security_guard_id'); - const rejectGuardInput = document.getElementById('rejectGuardId'); - - if (guardSelect && rejectGuardInput) { - if (!guardSelect.value) { - alert('Silakan pilih nama petugas Satpam terlebih dahulu sebelum menolak!'); - guardSelect.focus(); - return; - } - rejectGuardInput.value = guardSelect.value; - } - - document.getElementById('rejectForm').classList.toggle('hidden'); - } - - function setRejectReason(reason) { - const textarea = document.getElementById('rejectionNoteInput'); - if (textarea) { - textarea.value = reason; - textarea.focus(); - } - } - // Tutup modal jika tombol Escape ditekan document.addEventListener('keydown', function(event) { if (event.key === 'Escape' && isModalOpen) { diff --git a/resources/views/pg/verification_logs.blade.php b/resources/views/pg/verification_logs.blade.php index f53ae95..d6ddf36 100644 --- a/resources/views/pg/verification_logs.blade.php +++ b/resources/views/pg/verification_logs.blade.php @@ -121,7 +121,6 @@
diff --git a/resources/views/qma/activity_log.blade.php b/resources/views/qma/activity_log.blade.php index 888372f..420ff79 100644 --- a/resources/views/qma/activity_log.blade.php +++ b/resources/views/qma/activity_log.blade.php @@ -115,7 +115,6 @@ -