<div class="app-sidebar__overlay" data-bs-toggle="sidebar"></div>
<div class="app-sidebar">
    <div class="side-header">
        <a class="header-brand1" href="<?php echo e(route('dashboard')); ?>">
            <img src="<?php echo e(asset('assets/images/brand/logo-white.png')); ?>" class="header-brand-img desktop-logo" alt="logo">
            <img src="<?php echo e(asset('assets/images/brand/logo-dark.png')); ?>" class="header-brand-img toggle-logo" alt="logo">
        </a>
    </div>
    <div class="main-sidemenu">
        <ul class="side-menu">
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view dashboard')): ?>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('dashboard')); ?>">
                    <i class="side-menu__icon fe fe-home"></i>
                    <span class="side-menu__label">Dashboard</span>
                </a>
            </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('manage branches')): ?>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('branches.index')); ?>">
                    <i class="side-menu__icon fe fe-map-pin"></i>
                    <span class="side-menu__label">Branches</span>
                </a>
            </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('manage customers')): ?>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('customers.index')); ?>">
                    <i class="side-menu__icon fe fe-users"></i>
                    <span class="side-menu__label">Customers</span>
                </a>
            </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('manage staff')): ?>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('staff.index')); ?>">
                    <i class="side-menu__icon fe fe-user-check"></i>
                    <span class="side-menu__label">Staff</span>
                </a>
            </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('manage services')): ?>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('service-categories.index')); ?>">
                    <i class="side-menu__icon fe fe-layers"></i>
                    <span class="side-menu__label">Service Categories</span>
                </a>
            </li>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('services.index')); ?>">
                    <i class="side-menu__icon fe fe-scissors"></i>
                    <span class="side-menu__label">Services</span>
                </a>
            </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('manage appointments')): ?>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('appointments.index')); ?>">
                    <i class="side-menu__icon fe fe-calendar"></i>
                    <span class="side-menu__label">Appointments</span>
                </a>
            </li>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('appointments.calendar')); ?>">
                    <i class="side-menu__icon fe fe-clock"></i>
                    <span class="side-menu__label">Calendar</span>
                </a>
            </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('manage walk-ins')): ?>
            <li class="slide">
                <a class="side-menu__item" href="<?php echo e(route('walk-ins.index')); ?>">
                    <i class="side-menu__icon fe fe-users"></i>
                    <span class="side-menu__label">Walk-In Queue</span>
                </a>
            </li>
            <?php endif; ?>
        </ul>
    </div>
</div>

<?php /**PATH D:\xampp\htdocs\salon\resources\views/layouts/partials/sash-sidebar.blade.php ENDPATH**/ ?>