
<div class="row">
    <?php if(session()->has('alert')): ?>
        <div class="col-md-12">
            <?php echo $__env->make('includes.alert', ['type' => json_decode(session()->get('alert'))->type,
            'message' => json_decode(session()->get('alert'))->message], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    <?php endif; ?>
    <div class="col-md-12">
        <div class="card">
            <div class="card-header">
                <a href="<?php echo e(url()->current().'/export'); ?>" class="btn btn-success">Export</a>
            </div>
            <div class="card-body">
                <div class="table-responsive">
                    <table class="table" id="pengajuan">
                        <thead class=" text-primary">
                        <th>
                            Nama
                        </th>
                        <th>
                            NIP
                        </th>
                        <th>
                            NIK
                        </th>
                        <th>
                            Jenis Pengajuan
                        </th>
                        <th>
                            SKPD
                        </th>
                        <th>
                            Nomor SK
                        </th>
                        <th>
                            Nomor Sertifikat *Khusus PPBJ/Pokja
                        </th>
                        <th>
                            Masa Berlaku
                        </th>
                        <th>
                            Lampiran
                        </th>
                        <th>
                            Keterangan
                        </th>
                        <th>
                            Keterangan
                        </th>
                        <th></th>
                        </thead>
                        <tbody>
                        <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><a href="<?php echo e(url('admin/pegawai/detail/'.$row['pegawai_id'])); ?>" target="_blank"> <?php echo e($row['nama_pegawai']); ?> </a></td>
                                <td><?php echo e($row['nip']); ?></td>
                                <td><?php echo e($row['nik']); ?></td>
                                <td><?php echo e($row['type_pengajuan']); ?></td>
                                <td><?php echo e($row['skpd']); ?></td>
                                <td><?php echo e($row['nomor_sk']); ?></td>
                                <td><?php echo e($row['sertifikat']); ?></td>
                                <td><?php echo e($row['masa_berlaku']); ?></td>
                                <td>
                                    <?php if($row['lampiran_file'] != ""): ?>
                                        <a href="<?php echo e(url(env('UPLOAD_PATH').'/'.$row['lampiran_file'])); ?>" download>Unduh</a>
                                    <?php else: ?>
                                        -
                                    <?php endif; ?>
                                </td>
                                <td><?php echo e($row['keterangan']); ?></td>
                                <td>
                                    <a href="<?php echo e(url('admin/pegawai/detail/'.$row['pegawai_id'])); ?>" class="btn btn-info" target="_blank"> <i class="nc-icon nc-check-2"></i> Buat Akun</a>
                                    <a href="<?php echo e(url()->current().'/delete/'.$row['id']); ?>" class="btn btn-danger"> <i class="nc-icon nc-simple-remove"></i> Hapus</a>
                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<?php echo $__env->make('admin.includes.data_table', ['target' => '#pengajuan'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH D:\My Documents\Pictures\siapess\siapes (baru dah bener semua kecuali nik, keterangan amsa berlaku dak muncul\resources\views/admin/pages/pengajuan.blade.php ENDPATH**/ ?>