<?php if(permissionCheck('support_tickets')): ?>
<?php
$support_ticket_admin = false;
if(strpos(request()->getUri(),'ticket') != false)
{
$support_ticket_admin = true;
}
?>
<li class="<?php echo e($support_ticket_admin ?'mm-active' : ''); ?> sortable_li" data-position="<?php echo e(menuManagerCheck(1,21)->position); ?>" data-status="<?php echo e(menuManagerCheck(1,21)->status); ?>">
    <a href="javascript:;" class="has-arrow" aria-expanded="<?php echo e($support_ticket_admin ? 'true' : 'false'); ?>">
        <div class="nav_icon_small">
            <span class="fas fa-wrench"></span>
        </div>
        <div class="nav_title">
            <span><?php echo e(__('ticket.support_ticket')); ?></span>
        </div>
    </a>
    <ul id="support_ticket_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('ticket.tickets.index') && menuManagerCheck(2,21,'ticket.tickets.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,21,'ticket.tickets.index')->position); ?>">
                    <a href="<?php echo e(route('ticket.tickets.index')); ?>" <?php if(request()->is('admin/ticket/tickets')): ?> class="active"
                        <?php endif; ?>><?php echo e(__('ticket.support_ticket')); ?></a>
            </li>
            <?php endif; ?>
            <?php if(permissionCheck('ticket.category.index') && menuManagerCheck(2,21,'ticket.category.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,21,'ticket.category.index')->position); ?>">
                    <a href="<?php echo e(route('ticket.category.index')); ?>" <?php if(request()->is('admin/ticket/categories')): ?> class="active"
                        <?php endif; ?>><?php echo e(__('common.category')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('ticket.priority.index') && menuManagerCheck(2,21,'ticket.priority.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,21,'ticket.priority.index')->position); ?>">
                    <a href="<?php echo e(route('ticket.priority.index')); ?>" <?php if(request()->is('admin/ticket/priorities')): ?> class="active"
                        <?php endif; ?>><?php echo e(__('ticket.priority')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('ticket.status.index') && menuManagerCheck(2,21,'ticket.status.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,21,'ticket.status.index')->position); ?>">
                    <a href="<?php echo e(route('ticket.status.index')); ?>" <?php if(request()->is('admin/ticket/status')): ?> class="active"
                        <?php endif; ?>><?php echo e(__('common.status')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('ticket.my_ticket') && menuManagerCheck(2,21,'ticket.my_ticket')->status == 1): ?>
            
                <li data-position="<?php echo e(menuManagerCheck(2,21,'ticket.my_ticket')->position); ?>">
                    <a href="<?php echo e(route('ticket.my_ticket')); ?>" <?php if(request()->is('admin/ticket/assigned-ticket')): ?> class="active"
                        <?php endif; ?>><?php echo e(__('ticket.my_tickets')); ?></a>
                </li>
            <?php endif; ?>
        <?php endif; ?>
        <?php if(auth()->check() && auth()->user()->role->type == "seller" && menuManagerCheck(2,21,'seller.support-ticket.index')->status == 1 && isModuleActive('MultiVendor')): ?>
            <li data-position="<?php echo e(menuManagerCheck(2,21,'seller.support-ticket.index')->position); ?>">
                <a href="<?php echo e(route('seller.support-ticket.index')); ?>"><?php echo e(__('ticket.my_tickets')); ?></a>
            </li>
        <?php endif; ?>

    </ul>
</li>
<?php endif; ?>
<?php /**PATH /home/penastud/public_html/mart/Modules/SupportTicket/Resources/views/menu.blade.php ENDPATH**/ ?>