
<?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/Multiselect.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/Multiselect.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>
<?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">
        <div class="user-header">
            <?php if(!request('type_user') && !request('filter_user')): ?>
            <div class="col-6 user-header-btn active" id="newUserDiv">
                <?php else: ?>
                <div class="col-6 user-header-btn" id="newUserDiv">
                    <?php endif; ?>

                    <h4>افزودن کاربر</h4>
                </div>

                <?php if(request('type_user') || request('filter_user')): ?>
                <div class="col-6 user-header-btn active" id="editUserDiv">
                    <?php else: ?>
                    <div class="col-6 user-header-btn" id="editUserDiv">
                        <?php endif; ?>
                        <h4>ویرایش کاربر</h4>
                    </div>
                </div>
                <div class="user-body">
                    <?php if(!request('type_user') && !request('filter_user')): ?>
                    <div id="newUserFormDiv" style="display: block;">
                        <?php else: ?>
                        <div id="newUserFormDiv" style="display: none;">
                            <?php endif; ?>
                            <?php echo $__env->make('factoryReceiver.user.add', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        </div>
                        <?php if(request('type_user') || request('filter_user')): ?>
                        <div id="editUserFormDiv" style="display: block;">
                            <?php else: ?>
                            <div id="editUserFormDiv" style="display: none;">
                                <?php endif; ?>
                                <?php echo $__env->make('factoryReceiver.user.filter', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                                <?php if(request('filter_user')): ?>
                                    <?php echo $__env->make('factoryReceiver.user.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                <?php endif; ?>
                            </div>
                        </div>
                    </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/factoryReceiver/user.blade.php ENDPATH**/ ?>