@extends('layouts.adminlte') @section('title', 'Laporan Absensi') @section('content_header')

Laporan Absensi

Filter dan unduh laporan kehadiran siswa.

@stop @section('content')
{{-- CARD KIRI: FORM FILTER (3 Kolom) --}}

Filter Laporan

@php $classes = $classes ?? []; $inputClass = 'w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-purple-500 focus:ring-4 focus:ring-purple-500/10 transition duration-200 bg-gray-50 focus:bg-white text-gray-800'; $inputErrorClass = 'w-full px-4 py-3 rounded-xl border border-red-300 focus:border-red-500 focus:ring-4 focus:ring-red-500/10 transition duration-200 bg-red-50 text-red-900'; $currentMonthStart = \Carbon\Carbon::now()->startOfMonth()->format('Y-m-d'); $currentDate = \Carbon\Carbon::now()->format('Y-m-d'); @endphp
{{-- Filter Kelas --}}
@error('class_id')

{{ $message }}

@enderror
{{-- Dari Tanggal --}}
@error('start_date')

{{ $message }}

@enderror
{{-- Sampai Tanggal --}}
@error('end_date')

{{ $message }}

@enderror
{{-- Tombol Tampilkan Laporan --}} {{-- Tombol Export Excel --}}
{{-- Form Tersembunyi untuk Export --}}
{{-- CARD KANAN: PANDUAN (1 Kolom) --}}

Panduan

Filter Data Pilih kelas dan rentang tanggal untuk melihat data spesifik.
Export Excel Unduh laporan lengkap dalam format .xlsx untuk diolah lebih lanjut.
@stop @section('js') @stop @section('css') @stop