From c80f968abdb226c53c0e087600138ac628053373 Mon Sep 17 00:00:00 2001 From: Novy San87 Date: Thu, 6 Aug 2026 23:00:08 +0700 Subject: [PATCH] =?UTF-8?q?fix(nyata):=20buang=20Alpine=20x-model=20dari?= =?UTF-8?q?=20form=20filter=20laporan=20=E2=80=94=20konflik=20x-model=20me?= =?UTF-8?q?mbuat=20select=20class/jenis=20tidak=20ikut=20terkirim=20(bukti?= =?UTF-8?q?=20log:=20class=5Fid=20&=20violation=5Ftype=5Fid=20null);=20gan?= =?UTF-8?q?ti=20preset/reset=20ke=20JS=20vanilla?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/reports/violations.blade.php | 49 +++++++++----------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/resources/views/reports/violations.blade.php b/resources/views/reports/violations.blade.php index 6c66bf8..3f8249c 100644 --- a/resources/views/reports/violations.blade.php +++ b/resources/views/reports/violations.blade.php @@ -4,7 +4,7 @@ @section('content') @php $selectedClass = $classes->firstWhere('id', $filters['class_id']); @endphp -
+
{{-- ===== Hero ===== --}}
@@ -44,7 +44,7 @@
-
@@ -52,7 +52,7 @@
-
@@ -60,7 +60,7 @@
- @foreach ($violationTypes as $type) @@ -101,8 +101,8 @@ class="inline-flex items-center gap-2 px-5 py-2.5 text-sm font-semibold text-white bg-emerald-500/90 hover:bg-emerald-500 rounded-xl transition shadow-sm"> Export Excel - @@ -114,8 +114,8 @@ 'Semester Genap' => [now()->month >= 7 ? (now()->year + 1).'-01-01' : now()->year.'-01-01', now()->month >= 7 ? (now()->year + 1).'-06-30' : now()->year.'-06-30'], 'Tahun Ini' => [now()->year.'-01-01', now()->year.'-12-31'], ] as $label => [$from, $to]) - @endforeach @@ -321,25 +321,18 @@
@endsection