Total Semua Santri:
Sudah absen:
ยท
Belum absen:
0 ? round(($stats['Hadir'] ?? 0) / $totalSantriEligible * 100, 1) : 0;
$pctTerlambat = $totalSantriEligible > 0 ? round(($stats['Terlambat'] ?? 0) / $totalSantriEligible * 100, 1) : 0;
$pctIzin = $totalSantriEligible > 0 ? round(($stats['Izin'] ?? 0) / $totalSantriEligible * 100, 1) : 0;
$pctSakit = $totalSantriEligible > 0 ? round(($stats['Sakit'] ?? 0) / $totalSantriEligible * 100, 1) : 0;
$pctAlpa = $totalSantriEligible > 0 ? round(($stats['Alpa'] ?? 0) / $totalSantriEligible * 100, 1) : 0;
$pctBelum = $totalSantriEligible > 0 ? round($belumAbsen / $totalSantriEligible * 100, 1) : 0;
?>
0): ?>
0 ? ($stats['Hadir'] ?? 0) : ''); ?>
0): ?>
0 ? ($stats['Terlambat'] ?? 0) : ''); ?>
0): ?>
0 ? ($stats['Izin'] ?? 0) : ''); ?>
0): ?>
0 ? ($stats['Sakit'] ?? 0) : ''); ?>
0): ?>
0 ? ($stats['Alpa'] ?? 0) : ''); ?>
0): ?>
0 ? $belumAbsen : ''); ?>
Hadir
Terlambat
Izin
Sakit
Alpa
Belum Absen
count() > 0): ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $namaKelas => $kelasAbsensis): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
Kelas:
count()); ?> data
| No |
Tanggal |
ID Santri |
Nama Santri |
Status |
Metode |
Waktu |
Aksi |
addLoop($__currentLoopData); foreach($__currentLoopData as $index => $absensi): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
tanggal->format('d/m/Y')); ?> |
id_santri); ?> |
santri->nama_lengkap); ?> |
status_badge; ?> |
metode_absen == 'RFID'): ?>
RFID
metode_absen == 'Import_Mesin'): ?>
Mesin
Manual
|
waktu_absen ? date('H:i', strtotime($absensi->waktu_absen)) : '-'); ?> |
|
popLoop(); $loop = $__env->getLastLoop(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?>
Belum Ada Data Absensi
Silakan input absensi terlebih dahulu.
Input Absensi
count() > 0): ?>
Santri Belum Absen (count()); ?> orang)
Tanggal: format('d/m/Y')); ?>
| No |
ID Santri |
Nama Santri |
Kelas |
Status |
addLoop($__currentLoopData); foreach($__currentLoopData as $index => $santri): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
id_santri); ?> |
nama_lengkap); ?> |
kelasPrimary)->kelas)->nama_kelas ?? '-'); ?> |
Belum Absen
|
popLoop(); $loop = $__env->getLastLoop(); ?>
stopSection(); ?>
make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>