<?php $__currentLoopData = $menuSideBar; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menuChild): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php if($menuChild['permission'] == false or ($menuChild['permission'] == true && search_routes_to_permissions($menuChild['active'], $myPermissions) == true)): ?>
        <div class="menu-item <?php echo e((!empty($menuChild['children']) && in_array($routeName, $menuChild['active']) ? 'here show' : '')); ?> <?php echo e((!empty($menuChild['children']) ? 'menu-accordion' : '')); ?>" <?php echo (!empty($menuChild['children']) ? 'data-kt-menu-trigger="click"' : ''); ?>>
            <<?php echo e((!empty($menuChild['children']) ? 'span' : 'a')); ?> class="menu-link <?php echo e((empty($menuChild['children']) && in_array($routeName, $menuChild['active']) ? 'active' : '')); ?>" <?php echo (empty($menuChild['children']) ? 'href="'.route($menuChild['route']).'"' : ''); ?>>
                <span class="menu-icon">
                    <i class="fas fa-fw fa-<?php echo e($menuChild['icon']); ?>"></i>
                </span>
                <span class="menu-title"><?php echo e($menuChild['name']); ?></span>
                <?php if(!empty($menuChild['children']) && count($menuChild['children']) > 0): ?>
                    <span class="menu-arrow"></span>
                <?php endif; ?>
            </<?php echo e((!empty($menuChild['children']) ? 'span' : 'a')); ?>>
            <?php echo e(menuChild($menuChild)); ?>

        </div>
    <?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php /**PATH /Users/haladigitally/Desktop/TR/operations_manager/resources/views/layouts/menu-sidebar.blade.php ENDPATH**/ ?>