<!-- need to remove -->
<li class="menu-item <?php echo e(Request::is('/') ? 'active' : ''); ?>">
    <a href="<?php echo e(url('/')); ?>" class="menu-link ">      
      <i class="menu-icon tf-icons ti ti-layout-dashboard"></i>       
      <div>Dashboard</div>      
          
    </a>
  </li>

 

  <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user_view')): ?>
  <li class="menu-item <?php echo e(Request::is('users*') ? 'open' : ''); ?> <?php echo e(Request::is('roles*') ? 'open' : ''); ?>">
    <a href="javascript:void(0);" class="menu-link menu-toggle ">
      <i class="menu-icon tf-icons ti ti-users-group"></i>
      <div data-i18n="Front Pages">User Management</div>
    </a>  
    <ul class="menu-sub">
 
  <li class="menu-item <?php echo e(Request::is('users*') ? 'active' : ''); ?>">
    <a href="<?php echo e(route('users.index')); ?>" class="menu-link ">
        <i class="menu-icon tf-icons ti ti-users-group"></i>
        Users
    </a>
    </li>
   
    
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role_view')): ?>
    <li class="menu-item <?php echo e(Request::is('roles*') ? 'active' : ''); ?>">
    <a href="<?php echo e(route('roles.index')); ?>" class="menu-link ">
        <i class="menu-icon tf-icons ti ti-user-check"></i>
        Roles
    </a>
    </li>
    

    <li class="menu-item <?php echo e(Request::is('permissions*') ? 'active' : ''); ?>">
      <a href="<?php echo e(route('permissions.index')); ?>" class="menu-link ">
          <i class="menu-icon tf-icons ti ti-user-check"></i>
          Permissions
      </a>
      </li>
      <?php endif; ?>
  </ul>
</li>
<?php endif; ?>
 


<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['service_view','department_view'])): ?>
  <li class="menu-item <?php echo e(Request::is('services*') ? 'open' : ''); ?> 
  <?php echo e(Request::is('departments*') ? 'open' : ''); ?>">
    <a href="javascript:void(0);" class="menu-link menu-toggle">
      <i class="menu-icon tf-icons ti ti-settings-cog"></i>
      <div data-i18n="Front Pages">Settings</div>
    </a>  
    <ul class="menu-sub">
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('service_view')): ?>
 <li class="menu-item <?php echo e(Request::is('services*') ? 'active' : ''); ?>">
    <a href="<?php echo e(url('/services')); ?>" class="menu-link ">      
      <i class="menu-icon tf-icons ti ti-plane"></i>       
      <div>Services</div>      
           
  </a>
  </li>
<?php endif; ?>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('department_view')): ?>
<li class="menu-item <?php echo e(Request::is('departments*') ? 'active' : ''); ?>">
    <a href="<?php echo e(route('departments.index')); ?>" class="menu-link ">
        <i class="menu-icon tf-icons ti ti-box-padding"></i>
        Departments
    </a>
</li>
<?php endif; ?>





    </ul>
  </li>
<?php endif; ?>



<?php /**PATH D:\projects\thamu\sungabha_cinema\resources\views/layouts/menu.blade.php ENDPATH**/ ?>