
<?php $__env->startSection('css-part'); ?>
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2-bootstrap-5-theme/1.3.0/select2-bootstrap-5-theme.min.css" />
<link rel="stylesheet" href="<?php echo e(asset('assets/css/general.panel.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('assets/css/reciever.user.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js-part'); ?>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<script src="<?php echo e(asset('assets/js/general.panel.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/reciever.user.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/chief.user.js')); ?>"></script>
<script>
    $(document).ready(function() {
        $("#chief").select2({
            theme: "bootstrap-5",
            placeholder: "انتخاب سرتیم",
            allowClear: false,
            language: "fa",
            width: "100%",
        });

        $("#role").on('change', function() {
            $("#chiefDiv").toggle($(this).val() == 'worker');
        });
    });
</script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('panel'); ?>
<?php echo $__env->make('layouts.header.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('layouts.nav.nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('container'); ?>
<div class="container">
    <h2 class=" text-center mt-3">مدیریت کاربران</h2>
    <div class="mt-3">
        <?php echo $__env->make('layouts.notification.success', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->make('layouts.notification.error', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    </div>

    <div class="user-div mt-3">
        <?php echo $__env->make('Admin.user.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home1/zarborji/public_html/resources/views/Admin/userView.blade.php ENDPATH**/ ?>