<ul class="nav nav-treeview"> 
<?php $__currentLoopData = $childs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $child): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check($child->permission->name)): ?>
  <li class="nav-item">
    <a href="<?php echo e(route($child->route)); ?>" class="nav-link <?php echo e((Request::routeIs($child->request)) ? 'active' : ''); ?>">
        <i class="<?php echo e($child->icon); ?> nav-icon"></i>
        <p><?php echo e($child->menu_name); ?></p>        
    </a>   
  </li>
  <?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul><?php /**PATH C:\xampp\htdocs\extranet\resources\views/pages/menu/sub-menu.blade.php ENDPATH**/ ?>