<!DOCTYPE html>
<html>
<head>
    <title>Tambah Transaksi</title>
</head>
<body>

<h1>Tambah Transaksi</h1>

<form action="/transaksi" method="POST">

    <?php echo csrf_field(); ?>

    <label>Siswa</label>
    <br>

    <select name="nis">

        <?php $__currentLoopData = $siswa; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $s): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

        <option value="<?php echo e($s->nis); ?>">
            <?php echo e($s->nama_siswa); ?>

        </option>

        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

    </select>

    <br><br>

    <label>Buku</label>
    <br>

    <select name="id_buku">

        <?php $__currentLoopData = $buku; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

        <option value="<?php echo e($b->id_buku); ?>">
            <?php echo e($b->judul_buku); ?>

        </option>

        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

    </select>

    <br><br>

    <label>Petugas</label>
    <br>

    <select name="id_petugas">

        <?php $__currentLoopData = $petugas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

        <option value="<?php echo e($p->id_petugas); ?>">
            <?php echo e($p->nama_petugas); ?>

        </option>

        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

    </select>

    <br><br>

    <label>Tanggal Pinjam</label>
    <br>

    <input type="date" name="tanggal_pinjam">

    <br><br>

    <label>Tanggal Kembali</label>
    <br>

    <input type="date" name="tanggal_kembali">

    <br><br>

    <button type="submit">
        Simpan
    </button>

</form>

</body>
</html><?php /**PATH C:\laragon\www\aplikasi-perpustakaan\resources\views/transaksi/create.blade.php ENDPATH**/ ?>