<?php if(permissionCheck('refund_manage')): ?>
<?php
    $refund_admin = false;
    if(request()->is('refund/*') && !request()->is('refund/my-refund-list'))
    {
        $refund_admin = true;
    }
?>
<li class="<?php echo e($refund_admin ?'mm-active' : ''); ?> sortable_li" data-position="<?php echo e(menuManagerCheck(1,15)->position); ?>" data-status="<?php echo e(menuManagerCheck(1,15)->status); ?>">
    <a href="javascript:;" class="has-arrow" aria-expanded="<?php echo e($refund_admin ? 'true' : 'false'); ?>">
        <div class="nav_icon_small">
            <span class="fas fa-shopping-cart"></span>
        </div>
        <div class="nav_title">
            <span><?php echo e(__('refund.refund_manage')); ?></span>
        </div>
    </a>
    <ul id="refund_manage_ul">
        <?php if(auth()->check() && auth()->user()->role->type == "superadmin" || auth()->check() && auth()->user()->role->type == "admin" || auth()->check() && auth()->user()->role->type == "staff"): ?>
            <?php if(permissionCheck('refund.total_refund_list') && menuManagerCheck(2,15,'refund.total_refund_list')->status == 1): ?>
            <li data-position="<?php echo e(menuManagerCheck(2,15,'refund.total_refund_list')->position); ?>">
                
                <a href="<?php echo e(route('refund.total_refund_list')); ?>" <?php if(strpos(request()->getUri(),'all-pending-refund-request') != false): ?> class="active" <?php endif; ?>><?php echo e(__('refund.pending_refund_requests')); ?></a>
                
            </li>
            <?php endif; ?>
            <?php if(permissionCheck('refund.confirmed_refund_requests') && menuManagerCheck(2,15,'refund.confirmed_refund_requests')->status == 1): ?>
            <li data-position="<?php echo e(menuManagerCheck(2,15,'refund.confirmed_refund_requests')->position); ?>">        
                <a href="<?php echo e(route('refund.confirmed_refund_requests')); ?>" <?php if(strpos(request()->getUri(),'all-confirmed-refund-request') != false): ?> class="active" <?php endif; ?>><?php echo e(__('refund.confirmed_refund_requests')); ?></a>
            </li>
            <?php endif; ?>        
        <?php endif; ?>

        <?php if(permissionCheck('refund.my_refund_list') && menuManagerCheck(2,15,'refund.my_refund_list')->status == 1 && isModuleActive('MultiVendor')): ?>
        <li data-position="<?php echo e(menuManagerCheck(2,15,'refund.my_refund_list')->position); ?>">
            <a href="<?php echo e(route('refund.my_refund_list')); ?>" <?php if(strpos(request()->getUri(),'my-refund-request') != false): ?> class="active" <?php endif; ?>><?php echo e(__('refund.my_refund_requests')); ?></a>
        </li>   
        <?php endif; ?>

        <?php if(auth()->check() && auth()->user()->role->type == "superadmin" || auth()->check() && auth()->user()->role->type == "admin" || auth()->check() && auth()->user()->role->type == "staff"): ?>
            <?php if(permissionCheck('refund.reasons_list') && menuManagerCheck(2,15,'refund.reasons_list')->status == 1): ?>
            <li data-position="<?php echo e(menuManagerCheck(2,15,'refund.reasons_list')->position); ?>">
                <a href="<?php echo e(route('refund.reasons_list')); ?>" <?php if(strpos(request()->getUri(),'reasons-list') != false): ?> class="active" <?php endif; ?>><?php echo e(__('refund.reasons')); ?></a>
            </li> 
            <?php endif; ?>

            <?php if(permissionCheck('refund.process_index') && menuManagerCheck(2,15,'refund.process_index')->status == 1): ?>
            <li data-position="<?php echo e(menuManagerCheck(2,15,'refund.process_index')->position); ?>">
                <a href="<?php echo e(route('refund.process_index')); ?>" <?php if(strpos(request()->getUri(),'refund-peocess') != false): ?> class="active" <?php endif; ?>><?php echo e(__('refund.refund_process')); ?></a>
            </li>
            <?php endif; ?>
            <?php if(permissionCheck('refund.config') && menuManagerCheck(2,15,'refund.config')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,15,'refund.config')->position); ?>">
                    <a href="<?php echo e(route('refund.config')); ?>" <?php if(request()->is('refund/configuration')): ?> class="active" <?php endif; ?>><?php echo e(__('refund.configuration')); ?></a>
                </li>
            <?php endif; ?>
        <?php endif; ?>
    </ul>
</li>
<?php endif; ?>
<?php /**PATH /home/penastud/public_html/gsport/Modules/Refund/Resources/views/menu.blade.php ENDPATH**/ ?>