<?php $__env->startSection('content'); ?>
    <!--begin::Content container-->
    <div id="kt_app_content_container" class="app-container container-xxl">
        <div class="container">
            <div class="card mb-5 mb-xl-8">
                <div class="card-header border-0 pt-5">
                    <h3 class="card-title align-items-start flex-column">
                        <span class="card-label fw-bold fs-3 mb-1">Manage Users</span>
                    </h3>
                    <?php if(auth()->guard('admin')->user()->role_id == \App\Models\Role::ADMIN_ROLE): ?>
                    <div class="card-toolbar">
                        <a class="btn btn-flex btn-primary" href="<?php echo e(route('users.add')); ?>">
                            <i class="ki-outline ki-plus fs-2"></i>Add User</a>
                    </div>
                    <?php endif; ?>
                </div>
                <div class="card-body">
                    <?php echo e($dataTable->table()); ?>

                </div>
            </div>
        </div>
    </div>
    <!--end::Content container-->
<?php $__env->stopSection(); ?>

<?php $__env->startPush('scripts'); ?>
    <?php echo e($dataTable->scripts(attributes: ['type' => 'module'])); ?>

    <?php echo $__env->make('components.datatable.buttons-script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.vertical.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\work\techbithub\AAH\aah-hr-site\resources\views/users/index.blade.php ENDPATH**/ ?>