<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">
                <?php echo $__env->make('admin.includes.crud_utils_add', ['add_url' => url()->current().'/add'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
            <div class="card-body">
                <div class="table-responsive">
                    <table class="table" id="jabatan">
                        <thead class=" text-primary">
                        <th>
                            Pangkat
                        </th>
                        <th>
                            Golongan
                        </th>
                        <th>
                            Ruang
                        </th>
                        <th>

                        </th>
                        </thead>
                        <tbody>
                        <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($row['pangkat']); ?></td>
                                <td><?php echo e($row['golongan']); ?></td>
                                <td><?php echo e($row['ruang']); ?></td>
                                <td>
                                    <?php echo $__env->make('admin.includes.crud_utils_opt',
                                    ['detail_url' => url()->current().'/detail/'.$row['id'],
                                    'delete_url' => url()->current().'/delete/'.$row['id']], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                </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' => '#jabatan'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH E:\NH\New folder\resources\views/admin/pages/jabatan.blade.php ENDPATH**/ ?>