<table border="1">
    <tr>
        <th colspan="7" style="text-align:center; font-size:16px;">
            REKAP ABSENSI SISWA
        </th>
    </tr>

    <tr>
        <td colspan="7">
            Periode: <?php echo e($bulan); ?>/<?php echo e($tahun); ?>

            <?php if($jurusan): ?>
                | Jurusan: <?php echo e($jurusan); ?>

            <?php endif; ?>
        </td>
    </tr>

    <tr>
        <th>No</th>
        <th>Nama</th>
        <th>Kelas</th>
        <th>Jurusan</th>
        <th>Sakit</th>
        <th>Izin</th>
        <th>Alfa</th>
    </tr>

    <?php $__currentLoopData = $perSiswa; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i => $r): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <tr>
        <td><?php echo e($i + 1); ?></td>
        <td><?php echo e($r->nama_siswa); ?></td>
        <td><?php echo e($r->nama_kelas); ?></td>
        <td><?php echo e($r->jurusan); ?></td>
        <td><?php echo e($r->sakit); ?></td>
        <td><?php echo e($r->izin); ?></td>
        <td><?php echo e($r->alfa); ?></td>
    </tr>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

    <tr>
        <td colspan="4"><b>TOTAL</b></td>
        <td><b><?php echo e($summary['S']); ?></b></td>
        <td><b><?php echo e($summary['I']); ?></b></td>
        <td><b><?php echo e($summary['A']); ?></b></td>
    </tr>
</table><?php /**PATH C:\laragon\www\sistem-absensi-smkn-2-rupat\resources\views/bk/rekap/excel.blade.php ENDPATH**/ ?>