@php use Carbon\Carbon; use Carbon\CarbonInterface; @endphp @extends('layouts.main') @section('content')

Kelola Absensi: {{ $kelas->name }}

@if (session()->has('success')) @endif @if (session()->has('failed')) @endif
Kelas : {{ $kelas->name }}
Wali Kelas : {{ $kelas->guru->name }}
Tahun Pelajaran : {{ $kelas->tapel->tahun_pelajaran }} - Semester {{ $kelas->tapel->semester }}
Hari, Tanggal : {{ Carbon::parse($date)->locale('id_ID')->isoFormat('dddd, D MMMM Y') }}
@if ($siswa->count() < 1) Belum ada Siswa di Kelas Ini! @else
@csrf @method('PUT') @foreach ($siswa as $index => $item) @endforeach
# NIS Nama Siswa L/P Keterangan
{{ $loop->iteration }} {{ $item->nis }} {{ $item->name }} {{ $item->jk }}
@endif
@endsection