<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('dashboard.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('dashboard')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-dashboard-fill"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.dashboards.button'); ?></span>
        </a>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['user.view', 'role.view', 'dealers.view', 'dealers.approve', 'dealers.verify_email'])): ?>
    <li class="nk-menu-item has-sub">
        <a href="javascript:void(0);" class="nk-menu-link nk-menu-toggle">
            <span class="nk-menu-icon"><em class="icon ni ni-users-fill"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.user_and_roles.dropdown'); ?></span>
        </a>
        <ul class="nk-menu-sub">
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user.view')): ?>
                <li class="nk-menu-item">
                    <a href="<?php echo e(route('users.index')); ?>" class="nk-menu-link">
                        <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.user_and_roles.users_button'); ?></span>
                    </a>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role.view')): ?>
                <li class="nk-menu-item">
                    <a href="<?php echo e(route('roles.index')); ?>" class="nk-menu-link">
                        <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.user_and_roles.roles_button'); ?></span>
                    </a>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('dealers.view')): ?>
                <li class="nk-menu-item">
                    <a href="<?php echo e(route('dealers.index')); ?>" class="nk-menu-link">
                        <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.user_and_roles.dealers_button'); ?></span>
                    </a>
                </li>
            <?php endif; ?>
             <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.buyer.view')): ?>
                <li class="nk-menu-item">
                    <a href="<?php echo e(route('buyers.index')); ?>" class="nk-menu-link">
                        <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.user_and_roles.buyers_button'); ?></span>
                    </a>
                </li>
            <?php endif; ?>
        </ul>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('documentations.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('documentations.index')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-help"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.document_and_tickets.documentations_button'); ?></span>
        </a>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('taxes.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('taxes.index')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-wallet"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.taxes.documentations_button'); ?></span>
        </a>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('dex-user.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('dex-users.index')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-puzzle"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.dexUser.documentations_button'); ?></span>
        </a>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('dx-customer.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('dx-customers.index')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-puzzle"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.dx-customers.documentations_button'); ?></span>
        </a>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('listing.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('admin.listings.index')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-list"></em></span>
            <span class="nk-menu-text">Listings</span>
        </a>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('term.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('terms.index')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-notice"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.terms_and_conditions.terms_button'); ?></span>
        </a>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('activity_log.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('activity-logs.index')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-user-list-fill"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.activity_logs.activity_logs_button'); ?></span>
        </a>
    </li>
<?php endif; ?>

<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting.view')): ?>
    <li class="nk-menu-item has-sub">
        <a href="<?php echo e(route('settings.index')); ?>" class="nk-menu-link">
            <span class="nk-menu-icon"><em class="icon ni ni-setting"></em></span>
            <span class="nk-menu-text"><?php echo app('translator')->get('sidebar.settings.button'); ?></span>
        </a>
    </li>
<?php endif; ?>
<?php /**PATH C:\Users\WB\Desktop\vehicle-listing-backend\resources\views/layouts/navigation.blade.php ENDPATH**/ ?>