<div id="kt_aside" class="aside" data-kt-drawer="true" data-kt-drawer-name="aside"
    data-kt-drawer-activate="{default: true, lg: false}" data-kt-drawer-overlay="true"
    data-kt-drawer-width="{default:'220px', '300px': '270px'}" data-kt-drawer-direction="start"
    data-kt-drawer-toggle="#kt_aside_mobile_toggle" style="background-color: var(--sidebar-bg-color);">

    <div class="aside-menu flex-column-fluid">
        <div class="hover-scroll-overlay-y my-3 px-4" id="kt_aside_menu_wrapper" data-kt-scroll="true"
            data-kt-scroll-height="auto"
            data-kt-scroll-dependencies="{default: '#kt_aside_toolbar, #kt_aside_footer', lg: '#kt_header, #kt_aside_toolbar, #kt_aside_footer'}"
            data-kt-scroll-wrappers="#kt_aside_menu" data-kt-scroll-offset="5px">
            <div class="menu menu-column menu-rounded menu-state-title-primary menu-state-icon-primary menu-state-bullet-primary menu-arrow-gray-500 fw-semibold"
                id="#kt_aside_menu" data-kt-menu="true" style="font-family: var(--font-family); font-size: var(--menu-font-size);">
                <div class="menu-item mb-1">
                    <a class="menu-link <?php echo e(url()->current() == route('admin.index') ? 'active' : ''); ?>"
                        href="<?php echo e(route('admin.index')); ?>">
                        <span class="menu-icon">
                            <i class="bi bi-grid-1x2-fill fs-3 " style="color: var(--sidebar-text-color);"></i>
                        </span>
                        <span class="menu-title fw-bold"><?php echo e(__('translations.dashboard')); ?></span>
                    </a>
                </div>

                <div class="menu-item menu-accordion">
                    <div class="menu-content pb-2 pt-3">
                        <span class="menu-section text-muted text-uppercase fs-7 fw-bold"><?php echo e(__('translations.management')); ?></span>
                    </div>
                </div>

                <?php if (app('laratrust')->hasPermission('roles-list')) : ?>
                    <div class="menu-item mb-1">
                        <a class="menu-link <?php echo e(url()->current() == route('admin.roles.index') ? 'active' : ''); ?>"
                            href="<?php echo e(route('admin.roles.index')); ?>">
                            <span class="menu-icon">
                                <i class="bi bi-shield-lock fs-3" style="color: var(--sidebar-text-color);"></i>
                            </span>
                            <span class="menu-title fw-bold"><?php echo e(__('translations.roles')); ?></span>
                        </a>
                    </div>
                <?php endif; // app('laratrust')->permission ?>

                <?php if (app('laratrust')->hasPermission('users-list')) : ?>
                    <div class="menu-item mb-1">
                        <a class="menu-link <?php echo e(url()->current() == route('admin.users.index') ? 'active' : ''); ?>"
                            href="<?php echo e(route('admin.users.index')); ?>">
                            <span class="menu-icon">
                                <i class="bi bi-people-fill fs-3" style="color: var(--sidebar-text-color);"></i>
                            </span>
                            <span class="menu-title fw-bold"><?php echo e(__('translations.users')); ?></span>
                        </a>
                    </div>
                <?php endif; // app('laratrust')->permission ?>

                <div data-kt-menu-trigger="click"
                    class="menu-item menu-accordion <?php echo e(url()->current() == route('admin.clients.index') ? 'here hover show' : ''); ?> mb-1">
                    <span class="menu-link">
                        <span class="menu-icon">
                            <i class="bi bi-person-badge fs-3" style="color: var(--sidebar-text-color);"></i>
                        </span>
                        <span class="menu-title fw-bold"><?php echo e(__('translations.clients')); ?></span>
                        <span class="menu-arrow"></span>
                    </span>
                    </a>
                    <div class="menu-sub menu-sub-accordion">
                        <?php if (app('laratrust')->hasPermission('clients-list')) : ?>
                            <div class="menu-item">
                                <a class="menu-link <?php echo e(url()->current() == route('admin.clients.index') ? 'active' : ''); ?>"
                                    href="<?php echo e(route('admin.clients.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('translations.clients-list')); ?></span>
                                </a>
                            </div>
                        <?php endif; // app('laratrust')->permission ?>
                        <?php if (app('laratrust')->hasPermission('clients-create')) : ?>
                            <div class="menu-item">
                                <a class="menu-link <?php echo e(url()->current() == route('admin.clients.create') ? 'active' : ''); ?>"
                                    href="<?php echo e(route('admin.clients.create')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('translations.clients-create')); ?></span>
                                </a>
                            </div>
                        <?php endif; // app('laratrust')->permission ?>
                    </div>
                </div>

                <div data-kt-menu-trigger="click"
                    class="menu-item menu-accordion <?php echo e(url()->current() == route('admin.reports.index') ? 'here hover show' : ''); ?> mb-1">
                    <span class="menu-link">
                        <span class="menu-icon">
                            <i class="bi bi-file-earmark-bar-graph fs-3" style="color: var(--sidebar-text-color);"></i>
                        </span>
                        <span class="menu-title fw-bold"><?php echo e(__('translations.reports')); ?></span>
                        <span class="menu-arrow"></span>
                    </span>
                    </a>
                    <div class="menu-sub menu-sub-accordion">
                        <?php if (app('laratrust')->hasPermission('reports-examinations')) : ?>
                            <div class="menu-item">
                                <a class="menu-link <?php echo e(url()->current() == route('admin.reports.index') ? 'active' : ''); ?>"
                                    href="<?php echo e(route('admin.reports.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('translations.examinations-reports')); ?></span>
                                </a>
                            </div>
                        <?php endif; // app('laratrust')->permission ?>



                        <?php if (app('laratrust')->hasPermission('reports-clients')) : ?>
                            <div class="menu-item">
                                <a class="menu-link <?php echo e(url()->current() == route('admin.client.all') ? 'active' : ''); ?>"
                                    href="<?php echo e(route('admin.client.all')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('translations.reports-clients')); ?></span>
                                </a>
                            </div>
                        <?php endif; // app('laratrust')->permission ?>
                    </div>
                </div>

                <div class="menu-item menu-accordion">
                    <div class="menu-content pb-2 pt-3">
                        <span class="menu-section text-muted text-uppercase fs-7 fw-bold"><?php echo e(__('translations.operations')); ?></span>
                    </div>
                </div>

                <?php if (app('laratrust')->hasPermission('receptions-list')) : ?>
                    <div class="menu-item mb-1">
                        <a class="menu-link <?php echo e(url()->current() == route('admin.receptions.index') ? 'active' : ''); ?>"
                            href="<?php echo e(route('admin.receptions.index')); ?>">
                            <span class="menu-icon">
                                <i class="bi bi-journal-check fs-3" style="color: var(--sidebar-text-color);"></i>
                            </span>
                            <span class="menu-title fw-bold"><?php echo e(__('translations.receptions')); ?></span>
                        </a>
                    </div>
                <?php endif; // app('laratrust')->permission ?>

                <?php if (app('laratrust')->hasPermission('categories-list')) : ?>
                    <div class="menu-item mb-1">
                        <a class="menu-link <?php echo e(url()->current() == route('admin.categories.index') ? 'active' : ''); ?>"
                            href="<?php echo e(route('admin.categories.index')); ?>">
                            <span class="menu-icon">
                                <i class="bi bi-tags-fill fs-3" style="color: var(--sidebar-text-color);"></i>
                            </span>
                            <span class="menu-title fw-bold"><?php echo e(__('translations.categories')); ?></span>
                        </a>
                    </div>
                <?php endif; // app('laratrust')->permission ?>

                <?php if (app('laratrust')->hasPermission('products-list')) : ?>
                    <div class="menu-item mb-1">
                        <a class="menu-link <?php echo e(url()->current() == route('admin.products.index') ? 'active' : ''); ?>"
                            href="<?php echo e(route('admin.products.index')); ?>">
                            <span class="menu-icon">
                                <i class="bi bi-box-seam fs-3" style="color: var(--sidebar-text-color);"></i>
                            </span>
                            <span class="menu-title fw-bold"><?php echo e(__('translations.products')); ?></span>
                        </a>
                    </div>
                <?php endif; // app('laratrust')->permission ?>

                <div class="menu-item menu-accordion">
                    <div class="menu-content pb-2 pt-3">
                        <span class="menu-section text-muted text-uppercase fs-7 fw-bold"><?php echo e(__('translations.finance')); ?></span>
                    </div>
                </div>


                <?php if (app('laratrust')->hasPermission('invoices-list')) : ?>
                <div class="menu-item mb-1">
                    <a class="menu-link <?php echo e(url()->current() == route('admin.invoices.index') ? 'active' : ''); ?>"
                        href="<?php echo e(route('admin.invoices.index')); ?>">
                        <span class="menu-icon">
                            <i class="bi bi-receipt fs-3" style="color: var(--sidebar-text-color);"></i>
                        </span>
                        <span class="menu-title fw-bold"><?php echo e(__('translations.invoices')); ?></span>
                    </a>
                </div>
                <?php endif; // app('laratrust')->permission ?>

                <?php if (app('laratrust')->hasPermission('invoices-return')) : ?>
                    <div class="menu-item mb-1">
                        <a class="menu-link <?php echo e(url()->current() == route('admin.invoices.return-invoice-index') ? 'active' : ''); ?>"
                            href="<?php echo e(route('admin.invoices.return-invoice-index')); ?>">
                            <span class="menu-icon">
                                <i class="bi bi-arrow-return-left fs-3" style="color: var(--sidebar-text-color);"></i>
                            </span>
                            <span class="menu-title fw-bold"><?php echo e(__('translations.invoices-return')); ?></span>
                        </a>
                    </div>
                <?php endif; // app('laratrust')->permission ?>

                <?php if (app('laratrust')->hasPermission('invoices-resend')) : ?>
                <div class="menu-item mb-1">
                        <a class="menu-link <?php echo e(url()->current() == route('admin.invoices.not-resend-invoice-index') ? 'active' : ''); ?>"
                            href="<?php echo e(route('admin.invoices.not-resend-invoice-index')); ?>">
                            <span class="menu-icon">
                                <i class="bi bi-send-x fs-3" style="color: var(--sidebar-text-color);"></i>
                            </span>
                            <span class="menu-title fw-bold"><?php echo e(__('translations.invoices-not-resend')); ?></span>
                        </a>
                    </div>
                <?php endif; // app('laratrust')->permission ?>
                <div data-kt-menu-trigger="click"
                    class="menu-item menu-accordion <?php echo e(url()->current() == route('admin.expense-categories.index') || url()->current() == route('admin.expenses.index') ? 'here hover show' : ''); ?> mb-1">
                    <span class="menu-link">
                        <span class="menu-icon">
                            <i class="bi bi-cash-stack fs-3" style="color: var(--sidebar-text-color);"></i>
                        </span>
                        <span class="menu-title fw-bold"><?php echo e(__('translations.expenses-management')); ?></span>
                        <span class="menu-arrow"></span>
                    </span>
                    </a>
                    <div class="menu-sub menu-sub-accordion">
                        <?php if (app('laratrust')->hasPermission('expense-categories-list')) : ?>
                            <div class="menu-item">
                                <a class="menu-link <?php echo e(url()->current() == route('admin.expense-categories.index') ? 'active' : ''); ?>"
                                    href="<?php echo e(route('admin.expense-categories.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('translations.expense-categories')); ?></span>
                                </a>
                            </div>
                        <?php endif; // app('laratrust')->permission ?>
                        <?php if (app('laratrust')->hasPermission('expenses-list')) : ?>
                            <div class="menu-item">
                                <a class="menu-link <?php echo e(url()->current() == route('admin.expenses.index') ? 'active' : ''); ?>"
                                    href="<?php echo e(route('admin.expenses.index')); ?>">
                                    <span class="menu-bullet">
                                        <span class="bullet bullet-dot"></span>
                                    </span>
                                    <span class="menu-title"><?php echo e(__('translations.expenses')); ?></span>
                                </a>
                            </div>
                        <?php endif; // app('laratrust')->permission ?>
                    </div>
                </div>

                <?php if (app('laratrust')->hasPermission('finance-reports')) : ?>
                <div data-kt-menu-trigger="click" class="menu-item menu-accordion <?php echo e(url()->current() == route('admin.financial-reports.index') ||
                    url()->current() == route('admin.financial-reports.expenses') ||
                    url()->current() == route('admin.financial-reports.sales') ||
                    url()->current() == route('admin.financial-reports.profits') ||
                    url()->current() == route('admin.financial-reports.top-products')
                    ? 'here hover show' : ''); ?> mb-1">
                    <span class="menu-link">
                        <span class="menu-icon">
                            <i class="bi bi-clipboard-data fs-3" style="color: var(--sidebar-text-color);"></i>
                        </span>
                        <span class="menu-title fw-bold"><?php echo e(__('translations.financial-reports')); ?></span>
                        <span class="menu-arrow"></span>
                    </span>
                    <div class="menu-sub menu-sub-accordion">
                        <div class="menu-item">
                            <a class="menu-link <?php echo e(url()->current() == route('admin.financial-reports.index') ? 'active' : ''); ?>"
                                href="<?php echo e(route('admin.financial-reports.index')); ?>">
                                <span class="menu-bullet">
                                    <span class="bullet bullet-dot"></span>
                                </span>
                                <span class="menu-title"><?php echo e(__('translations.dashboard')); ?></span>
                            </a>
                        </div>
                        <div class="menu-item">
                            <a class="menu-link <?php echo e(url()->current() == route('admin.financial-reports.expenses') ? 'active' : ''); ?>"
                                href="<?php echo e(route('admin.financial-reports.expenses')); ?>">
                                <span class="menu-bullet">
                                    <span class="bullet bullet-dot"></span>
                                </span>
                                <span class="menu-title"><?php echo e(__('translations.expenses-report')); ?></span>
                            </a>
                        </div>
                        <div class="menu-item">
                            <a class="menu-link <?php echo e(url()->current() == route('admin.financial-reports.sales') ? 'active' : ''); ?>"
                                href="<?php echo e(route('admin.financial-reports.sales')); ?>">
                                <span class="menu-bullet">
                                    <span class="bullet bullet-dot"></span>
                                </span>
                                <span class="menu-title"><?php echo e(__('translations.sales-report')); ?></span>
                            </a>
                        </div>
                        <div class="menu-item">
                            <a class="menu-link <?php echo e(url()->current() == route('admin.financial-reports.profits') ? 'active' : ''); ?>"
                                href="<?php echo e(route('admin.financial-reports.profits')); ?>">
                                <span class="menu-bullet">
                                    <span class="bullet bullet-dot"></span>
                                </span>
                                <span class="menu-title"><?php echo e(__('translations.profits-report')); ?></span>
                            </a>
                        </div>
                        <div class="menu-item">
                            <a class="menu-link <?php echo e(url()->current() == route('admin.financial-reports.top-products') ? 'active' : ''); ?>"
                                href="<?php echo e(route('admin.financial-reports.top-products')); ?>">
                                <span class="menu-bullet">
                                    <span class="bullet bullet-dot"></span>
                                </span>
                                <span class="menu-title"><?php echo e(__('translations.top-products-report')); ?></span>
                            </a>
                        </div>
                    </div>
                </div>
                <?php endif; // app('laratrust')->permission ?>

                <div class="menu-item menu-accordion">
                    <div class="menu-content pb-2 pt-3">
                        <span class="menu-section text-muted text-uppercase fs-7 fw-bold"><?php echo e(__('translations.system')); ?></span>
                    </div>
                </div>

                <?php if (app('laratrust')->hasPermission('settings')) : ?>
                    <div class="menu-item">
                        <a class="menu-link <?php echo e(url()->current() == route('admin.settings') ? 'active' : ''); ?>"
                            href="<?php echo e(route('admin.settings')); ?>">
                            <span class="menu-icon">
                                <i class="bi bi-gear-fill fs-3" style="color: var(--sidebar-text-color);"></i>
                            </span>
                            <span class="menu-title fw-bold"><?php echo e(__('translations.settings')); ?></span>
                        </a>
                    </div>
                <?php endif; // app('laratrust')->permission ?>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /home/opticsin/public_html/4eye.innovationstars.net/resources/views/admin/layouts/aside.blade.php ENDPATH**/ ?>