<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>SI - Perpustakaan</title>
    <meta name="description" content="A responsive bootstrap 4 admin dashboard template by hencework" />

    <!-- Favicon -->
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="icon" href="/perpus/logo.png" type="image/x-icon">

    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
        integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>

<body>
    <style type="text/css">
        table tr td,
        table tr th {
            font-size: 9pt;
        }
    </style>
    <table border="0" width="100%">
        <tr>
            <td width="10%" align="center"> <img src="https://i.ibb.co/604tH6z/logo-muhammdiyah.jpg" width="80"
                    height="80" alt=""></td>
            <td width="90%" align="center">
                <h5>DINAS PENDIDIKAN PEMERINTAH KOTA PALEMBANG</h5>
                <h5>SEKOLAH DASAR MUHAMMADIYAH 6 PALEMBANG</h5>
                <h6>Alamat : Jalan Jendral Sudirman KM. 4,5 Telp 412034 Palembang 30128</h6>
            </td>
        </tr>
    </table>
    <hr>
    <center>
        <h5>LAPORAN PEMINJAMAN SELURUH SISWA SD 6 MUHAMMDIYAH PALEMBANG</h5>
    </center>
    <table class='table table-bordered'>
        <thead>
            <tr>
                <th>No</th>
                <th>NIS</th>
                <th>Nama Siswa</th>
                <th>Kelas</th>
                <th>ID Buku</th>
                <th>Judul Buku</th>
                <th>Tanggal Pinjam</th>
                <th>Tanggal Kembali</th>
            </tr>
        </thead>
        <tbody>
            <?php $i=1 ?>
            <?php $__currentLoopData = $riwayat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td><?php echo e($i++); ?></td>
                    <td><b><?php echo e($data->nis); ?></b></td>
                    <td><?php echo e(Str::title($data->nama_siswa)); ?></td>
                    <td><?php echo e(Str::upper($data->jenis_kelas)); ?></td>
                    <td><?php echo e($data->kode_buku); ?></td>
                    <td><?php echo e(Str::title($data->nama_buku)); ?></td>
                    <td>
                        <?php echo e(date('d-F-Y', strtotime($data->created_at))); ?>

                    </td>
                    <td>
                        <?php echo e(date('d-F-Y', strtotime($data->tanggal_kembali))); ?>

                    </td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table><br><br>
    <?php
        $kepsek = DB::Table('kepala_sekolah')->get();
    ?>
    <table>
        <tbody>
            <tr>
                <td>Kepala Sekolah<br><br><br><br>
                    <?php $__empty_1 = true; $__currentLoopData = $kepsek; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $kepsek): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <?php echo e(Str::title($kepsek->nama_kepsek)); ?> <br>
                        <b><u>NIP : <?php echo e($kepsek->nip_kepsek); ?></u></b>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        Nama Kepala Sekolah Kosong
                    <?php endif; ?>
                </td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                <td>Staff Perpustakaan<br><br><br><br>
                    <?php echo e(Str::title(Auth::user()->name)); ?> <br>
                    <b><u>NIP : <?php echo e(Auth::user()->nip); ?></u></b>
                </td>
            </tr>
        </tbody>
    </table>
</body>

</html>
<?php /**PATH C:\laragon\www\perpustakaan\resources\views/petugas/laporan/print_laporan_all.blade.php ENDPATH**/ ?>