<?php $__env->startSection('title', 'SK Tim Penguji (P4)'); ?>

<?php $__env->startSection('content'); ?>
<div class="card">
    <div class="card-header">
        <h3 class="card-title">Daftar Tim Penguji</h3>
        <div class="card-tools"><a href="<?php echo e(route('p4.tim_penguji.create')); ?>" class="btn btn-primary btn-sm">Buat SK P4</a></div>
    </div>
    <div class="card-body">
        <table class="table table-bordered table-striped datatables">
            <thead>
                <tr>
                    <th>NIM</th>
                    <th>Mahasiswa</th>
                    <th>Judul</th>
                    <th>Ketua Penguji</th>
                    <th>Aksi</th>
                </tr>
            </thead>
            <tbody>
                <?php $__currentLoopData = $p4; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td><?php echo e($item->nim_mahasiswa); ?></td>
                    <td><?php echo e($item->nama_mahasiswa); ?></td>
                    <td><?php echo e($item->judul_skripsi); ?></td>
                    <td><?php echo e($item->nama_penguji1); ?></td>
                    <td>
                        <a href="<?php echo e(route('p4.tim_penguji.pdf', $item->id)); ?>" target="_blank" class="btn btn-info btn-sm">Print</a>
                        <a href="<?php echo e(route('p4.tim_penguji.edit', $item->id)); ?>" class="btn btn-warning btn-sm">Edit</a>
                        <form action="<?php echo e(route('p4.tim_penguji.destroy', $item->id)); ?>" method="POST" style="display:inline;">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('DELETE'); ?>
                            <button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('Yakin ingin menghapus?')">Hapus</button>
                        </form>
                    </td>

                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /opt/lampp/htdocs/skripsifh/resources/views/p4/tim_penguji/index.blade.php ENDPATH**/ ?>