<nav id="sidebar" class="
    
">
    <div class="sidebar-header">
        <h3>
            <?php
            //To get logo...
            $softLogo = App\Models\Logo::getSoftwareLogo();
            ?>

            <?php if(isset($softLogo) && $softLogo->logo_image != null): ?>
            <img class="custom-sidebar-logo" src="<?php echo e(asset('backend/uploads/logoImg/'.$softLogo->logo_image)); ?>"
                class="img-fluid" />
            <?php else: ?>
            <img src="<?php echo e(asset('backend')); ?>/billing_invoice_logo.png" class="img-fluid" />
            <?php endif; ?>
        </h3>
    </div>

    <ul class="list-unstyled components custom-sidebar-menu-icon">

        <li class="active">
            <a href="<?php echo e(route('admin.dashboard')); ?>" class="dashboard
            <?php echo e(request()->is('admin/dashboard') ? 'custom-sidebar-menu-active' : ''); ?>

            ">
                <i class="material-symbols-outlined">dashboard</i><span>Dashboard</span>
            </a>
        </li>

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('appoinment-list') ||
            Auth::user()->can('appoinment-create')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                            <?php echo e(request()->is('appoinment') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('filter-appoinment-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            " onclick="sidebarCollapseMenu(18)">
                    <i class="material-symbols-outlined">app_registration</i><span>Appoinment</span></a>
                <ul class="collapse list-unstyled menu
                            <?php echo e(request()->is('appoinment') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('filter-appoinment-list') ? 'custom-sidebar-open' : ''); ?>

                            " id="sidebar_collapse_18">

                    <?php if(Auth::user()->can('appoinment-list')): ?>
                    <li class="ms-2
                                    <?php echo e(request()->is('appoinment') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    ">
                        <a href="<?php echo e(route('appoinment.index')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Appoinment List</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('appoinment-edit')): ?>
                    <li class="ms-2
                                    <?php echo e(request()->is('filter-appoinment-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    ">
                        <a href="<?php echo e(route('filter-appoinment-list')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Appoinment Filter</a>
                    </li>
                    <?php endif; ?>

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

        <?php if(Auth::user()->can('client-list') ||
        Auth::user()->can('client-create')): ?>
        <li class="active">
            <a href="<?php echo e(route('client.index')); ?>" class="dashboard
                    <?php echo e(request()->is('client') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('active-client-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('inactive-client-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('client/*') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('client-profile/*') ? 'custom-sidebar-menu-active' : ''); ?>

                    ">
                <i class="material-symbols-outlined">group</i><span>Client</span>
            </a>
        </li>
        <?php endif; ?>

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('service-category-list') || Auth::user()->can('service-category-create')
            || Auth::user()->can('service-list') || Auth::user()->can('service-create')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                                    <?php echo e(request()->is('service-category') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('active-service-category-list') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('inactive-service-category-list') ? 'custom-sidebar-menu-active' : ''); ?>


                                    <?php echo e(request()->is('service-category/create') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('service-category/*') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('service') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('active-service-list') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('inactive-service-list') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('service/create') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('service/*') ? 'custom-sidebar-menu-active' : ''); ?>

                                    " onclick="sidebarCollapseMenu(1)">
                    <i class="material-symbols-outlined">medical_information</i><span>Services</span></a>
                <ul class="collapse list-unstyled menu
                                    <?php echo e(request()->is('service-category') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('active-service-category-list') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('inactive-service-category-list') ? 'custom-sidebar-open' : ''); ?>


                                    <?php echo e(request()->is('service-category/create') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('service-category/*') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('service') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('active-service-list') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('inactive-service-list') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('service/create') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('service/*') ? 'custom-sidebar-open' : ''); ?>

                                " id="sidebar_collapse_1">

                    <?php if(Auth::user()->can('service-category-list')): ?>
                    <li class="ms-2
                                    <?php echo e(request()->is('service-category') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('active-service-category-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('inactive-service-category-list') ? 'custom-sidebar-submenu-active' : ''); ?>


                                    <?php echo e(request()->is('service-category/create') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('service-category/*/edit') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    ">
                        <a href="<?php echo e(route('service-category.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Category List</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('service-list')): ?>
                    <li class="ms-2
                                    <?php echo e(request()->is('service') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('active-service-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('inactive-service-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('service/create') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('service/*/edit') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    ">
                        <a href="<?php echo e(route('service.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i> Service
                            List</a>
                    </li>
                    <?php endif; ?>

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

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('billing-list') || Auth::user()->can('billing-create') 
            || Auth::user()->can('my-branch-billing-list') || Auth::user()->can('branch-wise-billing-list')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                            <?php echo e(request()->is('bill-invoice-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('paid-bill-invoice-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('due-bill-invoice-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('pending-bill-invoice-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('get-bill-payment-invoice/*') ? 'custom-sidebar-menu-active' : ''); ?>


                            <?php echo e(request()->is('billing-create') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('billing-edit/*') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('get-billing-product-data') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('add-billing-payment') ? 'custom-sidebar-menu-active' : ''); ?>


                            <?php echo e(request()->is('my-branch-bill-invoice-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('branch-wise-invoice-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('selected-branch-wise-invoice-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            " onclick="sidebarCollapseMenu(2)">
                    <i class="material-symbols-outlined">add_business</i><span>Invoice Management</span></a>
                <ul class="collapse list-unstyled menu
                            <?php echo e(request()->is('bill-invoice-list') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('paid-bill-invoice-list') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('due-bill-invoice-list') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('pending-bill-invoice-list') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('my-branch-bill-invoice-list') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('branch-wise-invoice-list') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('selected-branch-wise-invoice-list') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('billing-create') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('billing-edit/*') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('get-billing-product-data') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('add-billing-payment') ? 'custom-sidebar-open' : ''); ?>

                            <?php echo e(request()->is('get-bill-payment-invoice/*') ? 'custom-sidebar-open' : ''); ?>

                        " id="sidebar_collapse_2">

                    <?php if(Auth::user()->can('billing-list')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('bill-invoice-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('paid-bill-invoice-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('due-bill-invoice-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('pending-bill-invoice-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('get-bill-payment-invoice/*') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('bill-invoice-list')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Invoice List</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('billing-create')): ?>
                    <li class="ms-2
                            
                            
                            <?php echo e(request()->is('billing-create') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('billing-edit/*') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('get-billing-product-data') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('add-billing-payment') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('billing-create')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Create Invoice</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('my-branch-billing-list')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('my-branch-bill-invoice-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('my-branch-bill-invoice-list')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            My Branch Invoice</a>
                    </li>
                    <?php endif; ?>
                   
                    <?php if(Auth::user()->can('branch-wise-billing-list')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('branch-wise-invoice-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('selected-branch-wise-invoice-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('branch-wise-invoice-list')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Branch Wise Invoice</a>
                    </li>
                    <?php endif; ?>

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

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('cancel-invoice-list') ||
            Auth::user()->can('cancel-invoice-create')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                                    <?php echo e(request()->is('cancel-invoice-list') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('cancel-invoice-details/*') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('cancel-invoice/view/*') ? 'custom-sidebar-menu-active' : ''); ?>

                                    <?php echo e(request()->is('cancel-invoice-create') ? 'custom-sidebar-menu-active' : ''); ?>

                                    " onclick="sidebarCollapseMenu(3)">
                    <i class="material-symbols-outlined">tab_close_right</i><span>Invoice Cancellation</span></a>
                <ul class="collapse list-unstyled menu
                                    <?php echo e(request()->is('cancel-invoice-list') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('cancel-invoice-details/*') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('cancel-invoice/view/*') ? 'custom-sidebar-open' : ''); ?>

                                    <?php echo e(request()->is('cancel-invoice-create') ? 'custom-sidebar-open' : ''); ?>

                                " id="sidebar_collapse_3">

                    <?php if(Auth::user()->can('cancel-invoice-list')): ?>
                    <li class="ms-2
                                    <?php echo e(request()->is('cancel-invoice-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('cancel-invoice-details/*') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    <?php echo e(request()->is('cancel-invoice/view/*') ? 'custom-sidebar-submenu-active' : ''); ?>

                                    ">
                        <a href="<?php echo e(route('cancel-invoice-list')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Cancellation List</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('cancel-invoice-create')): ?>
                    <li class="ms-2
                                    <?php echo e(request()->is('cancel-invoice-create') ? 'custom-sidebar-menu-active' : ''); ?>

                                    ">
                        <a href="<?php echo e(route('cancel-invoice-create')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Cancel Invoice</a>
                    </li>
                    <?php endif; ?>

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

        

        

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('provider-list') || Auth::user()->can('payment-type-list')
            || Auth::user()->can('branch-list') || Auth::user()->can('invoice-terms-list')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                            <?php echo e(request()->is('provider') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('active-provider-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('inactive-provider-list') ? 'custom-sidebar-menu-active' : ''); ?>


                            <?php echo e(request()->is('branch') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('active-branch-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('inactive-branch-list') ? 'custom-sidebar-menu-active' : ''); ?>


                            <?php echo e(request()->is('payment-type') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('active-payment-type-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('inactive-payment-type-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            
                            <?php echo e(request()->is('invoice-terms') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('active-invoice-terms-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            <?php echo e(request()->is('inactive-invoice-terms-list') ? 'custom-sidebar-menu-active' : ''); ?>

                            " onclick="sidebarCollapseMenu(5)">
                    <i class="material-symbols-outlined">chip_extraction</i><span>Others</span></a>
                <ul class="collapse list-unstyled menu
                        <?php echo e(request()->is('provider') ? 'custom-sidebar-open' : ''); ?>

                        <?php echo e(request()->is('active-provider-list') ? 'custom-sidebar-open' : ''); ?>

                        <?php echo e(request()->is('inactive-provider-list') ? 'custom-sidebar-open' : ''); ?>


                        <?php echo e(request()->is('branch') ? 'custom-sidebar-open' : ''); ?>

                        <?php echo e(request()->is('active-branch-list') ? 'custom-sidebar-open' : ''); ?>

                        <?php echo e(request()->is('inactive-branch-list') ? 'custom-sidebar-open' : ''); ?>

                        
                        <?php echo e(request()->is('payment-type') ? 'custom-sidebar-open' : ''); ?>

                        <?php echo e(request()->is('active-payment-type-list') ? 'custom-sidebar-open' : ''); ?>

                        <?php echo e(request()->is('inactive-payment-type-list') ? 'custom-sidebar-open' : ''); ?>

                        
                        <?php echo e(request()->is('invoice-terms') ? 'custom-sidebar-open' : ''); ?>

                        <?php echo e(request()->is('active-invoice-terms-list') ? 'custom-sidebar-open' : ''); ?>

                        <?php echo e(request()->is('inactive-invoice-terms-list') ? 'custom-sidebar-open' : ''); ?>

                        " id="sidebar_collapse_5">

                    <?php if(Auth::user()->can('branch-list') ||
                    Auth::user()->can('branch-create')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('branch') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('active-branch-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('inactive-branch-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('branch.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>Branch</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('provider-list') ||
                    Auth::user()->can('provider-create')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('provider') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('active-provider-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('inactive-provider-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('provider.index')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Provider</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('payment-type-list') || Auth::user()->can('payment-type-create')): ?>
                    <li class="ms-2
                                <?php echo e(request()->is('payment-type') ? 'custom-sidebar-submenu-active' : ''); ?>

                                <?php echo e(request()->is('active-payment-type-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                <?php echo e(request()->is('inactive-payment-type-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                ">
                        <a href="<?php echo e(route('payment-type.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Payment Type</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('invoice-terms-list') || Auth::user()->can('invoice-terms-create')): ?>
                    <li class="ms-2
                                <?php echo e(request()->is('invoice-terms') ? 'custom-sidebar-submenu-active' : ''); ?>

                                <?php echo e(request()->is('active-invoice-terms-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                <?php echo e(request()->is('inactive-invoice-terms-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                                ">
                        <a href="<?php echo e(route('invoice-terms.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Invoice Terms</a>
                    </li>
                    <?php endif; ?>

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

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('expense-category-list') || Auth::user()->can('expense-category-create')
            || Auth::user()->can('expense-list') || Auth::user()->can('expense-create')
            || Auth::user()->can('expense-receipt-list') || Auth::user()->can('expense-receipt-create')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                    <?php echo e(request()->is('expense-category') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('active-expense-category-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('inactive-expense-category-list') ? 'custom-sidebar-menu-active' : ''); ?>


                    <?php echo e(request()->is('expense') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('active-expense-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('inactive-expense-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    
                    <?php echo e(request()->is('expense-receipt') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('expense-receipt/create') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('expense-receipt/*/edit') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('save-all-expense-receipt') ? 'custom-sidebar-menu-active' : ''); ?>

                    " onclick="sidebarCollapseMenu(6)">
                    <i class="material-symbols-outlined">local_mall</i><span>Expense</span></a>
                <ul class="collapse list-unstyled menu
                    <?php echo e(request()->is('expense-category') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('active-expense-category-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('inactive-expense-category-list') ? 'custom-sidebar-open' : ''); ?>


                    <?php echo e(request()->is('expense') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('active-expense-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('inactive-expense-list') ? 'custom-sidebar-open' : ''); ?>

                    
                    <?php echo e(request()->is('expense-receipt') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('expense-receipt/create') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('expense-receipt/*/edit') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('save-all-expense-receipt') ? 'custom-sidebar-open' : ''); ?>

                    " id="sidebar_collapse_6">

                    <?php if(Auth::user()->can('expense-category-list')): ?>
                    <li class="ms-2
                        <?php echo e(request()->is('expense-category') ? 'custom-sidebar-submenu-active' : ''); ?>

                        <?php echo e(request()->is('active-expense-category-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                        <?php echo e(request()->is('inactive-expense-category-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                        ">
                        <a href="<?php echo e(route('expense-category.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i>
                            Category List</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('expense-list')): ?>
                    <li class="ms-2
                        <?php echo e(request()->is('expense') ? 'custom-sidebar-submenu-active' : ''); ?>

                        <?php echo e(request()->is('active-expense-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                        <?php echo e(request()->is('inactive-expense-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                        ">
                        <a href="<?php echo e(route('expense.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i> Expense
                            List</a>
                    </li>
                    <?php endif; ?>
                    
                    <?php if(Auth::user()->can('expense-receipt-list')): ?>
                    <li class="ms-2
                        <?php echo e(request()->is('expense-receipt') ? 'custom-sidebar-submenu-active' : ''); ?>

                        <?php echo e(request()->is('expense-receipt/create') ? 'custom-sidebar-submenu-active' : ''); ?>

                        <?php echo e(request()->is('expense-receipt/*/edit') ? 'custom-sidebar-submenu-active' : ''); ?>

                        <?php echo e(request()->is('save-all-expense-receipt') ? 'custom-sidebar-submenu-active' : ''); ?>

                        ">
                        <a href="<?php echo e(route('expense-receipt.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i> Expense Receipt</a>
                    </li>
                    <?php endif; ?>

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

        

        

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('yearly-report-list')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                    <?php echo e(request()->is('yearly-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-year-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('monthly-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-month-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('between-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-between-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    
                    <?php echo e(request()->is('branch-wise-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-branch-wise-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    
                    <?php echo e(request()->is('yearly-expense-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-year-expense-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('monthly-expense-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-month-expense-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('between-expense-report-list') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-between-expense-report-list') ? 'custom-sidebar-menu-active' : ''); ?>


                    <?php echo e(request()->is('yearly-purchase-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-year-purchase-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('monthly-purchase-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-month-purchase-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('between-purchase-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-between-purchase-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    
                    <?php echo e(request()->is('yearly-sell-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-year-sell-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('monthly-sell-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-month-sell-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('between-sell-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('selected-between-sell-report') ? 'custom-sidebar-menu-active' : ''); ?>

                    " onclick="sidebarCollapseMenu(9)">
                    <i class="material-symbols-outlined">print_error</i><span>Reports</span></a>
                <ul class="collapse list-unstyled menu
                    <?php echo e(request()->is('yearly-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-year-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('monthly-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-month-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('between-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-between-report-list') ? 'custom-sidebar-open' : ''); ?>

                   
                    <?php echo e(request()->is('branch-wise-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-branch-wise-report-list') ? 'custom-sidebar-open' : ''); ?>

                    
                    <?php echo e(request()->is('yearly-expense-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-year-expense-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('monthly-expense-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-month-expense-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('between-expense-report-list') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-between-expense-report-list') ? 'custom-sidebar-open' : ''); ?>


                    <?php echo e(request()->is('yearly-purchase-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-year-purchase-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('monthly-purchase-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-month-purchase-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('between-purchase-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-between-purchase-report') ? 'custom-sidebar-open' : ''); ?>

                    
                    <?php echo e(request()->is('yearly-sell-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-year-sell-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('monthly-sell-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-month-sell-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('between-sell-report') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('selected-between-sell-report') ? 'custom-sidebar-open' : ''); ?>

                    " id="sidebar_collapse_9">

                    <?php if(Auth::user()->can('yearly-report-list')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('yearly-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('selected-year-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('yearly-report-list')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Yearly Invoice</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('yearly-report-list')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('monthly-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('selected-month-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('monthly-report-list')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Monthly Invoice</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('yearly-report-list')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('between-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('selected-between-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('between-report-list')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Between Invoice</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('branch-wise-report-list')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('branch-wise-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('selected-branch-wise-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('branch-wise-report-list')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Branch Wise Report</a>
                    </li>
                    <?php endif; ?>
                
                    <?php if(Auth::user()->can('expense-report-list')): ?>
                    <li class="ms-2
                            <?php echo e(request()->is('yearly-expense-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('selected-year-expense-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('yearly-expense-report-list')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Yearly Expense</a>
                    </li>
                    
                    <li class="ms-2
                            <?php echo e(request()->is('monthly-expense-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('selected-month-expense-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('monthly-expense-report-list')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Monthly Expense</a>
                    </li>
                    
                    <li class="ms-2
                            <?php echo e(request()->is('between-expense-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            <?php echo e(request()->is('selected-between-expense-report-list') ? 'custom-sidebar-submenu-active' : ''); ?>

                            ">
                        <a href="<?php echo e(route('between-expense-report-list')); ?>"><i
                                class="fa-regular fa-circle sidebar-li"></i>Between Expense</a>
                    </li>
                    <?php endif; ?>

                    

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

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('user-list') || Auth::user()->can('role-list')
            || Auth::user()->can('logo-setting-access')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                    <?php echo e(request()->is('setting') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('roles') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('roles-edit/*') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('users') ? 'custom-sidebar-menu-active' : ''); ?>

                    " onclick="sidebarCollapseMenu(10)">
                    <i class="material-symbols-outlined">settings</i><span> Settings</span></span></a>
                <ul class="collapse list-unstyled menu
                    <?php echo e(request()->is('setting') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('roles') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('roles-edit/*') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('users') ? 'custom-sidebar-open' : ''); ?>

                " id="sidebar_collapse_10">
                    
                    <?php if(Auth::user()->can('logo-setting-access')): ?>
                    <li class="ms-2
                    <?php echo e(request()->is('setting') ? 'custom-sidebar-submenu-active' : ''); ?>

                    ">
                        <a href="<?php echo e(route('setting')); ?>"><i class="fa-regular fa-circle sidebar-li"></i> General
                            Setting</a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('role-list') || Auth::user()->can('role-create') ||
                    Auth::user()->can('role-edit') || Auth::user()->can('role-delete')): ?>
                    <li class="ms-2
                    <?php echo e(request()->is('roles') ? 'custom-sidebar-submenu-active' : ''); ?>

                    <?php echo e(request()->is('roles-edit/*') ? 'custom-sidebar-submenu-active' : ''); ?>

                    ">
                        <a href="<?php echo e(route('roles.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i> Role </a>
                    </li>
                    <?php endif; ?>

                    <?php if(Auth::user()->can('user-list')): ?>
                    <li class="ms-2
                    <?php echo e(request()->is('users') ? 'custom-sidebar-submenu-active' : ''); ?>

                    ">
                        <a href="<?php echo e(route('users.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i> User </a>
                    </li>
                    <?php endif; ?>
                </ul>
            </li>
            <?php endif; ?>
        </div>

        <div class="small-screen navbar-display">
            <?php if(Auth::user()->can('frontend-common-service-access') || Auth::user()->can('frontend-service-access')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)" data-bs-target="#homeSubmenu0" data-bs-toggle="collapse"
                    aria-expanded="false" class="dropdown-toggle
                    <?php echo e(request()->is('frontend-common-service') ? 'custom-sidebar-menu-active' : ''); ?>

                    <?php echo e(request()->is('frontend-service') ? 'custom-sidebar-menu-active' : ''); ?>

                    " onclick="sidebarCollapseMenu(11)">
                    <i class="material-symbols-outlined">settings_applications</i><span> Frontend</span></span></a>
                <ul class="collapse list-unstyled menu
                    <?php echo e(request()->is('frontend-common-service') ? 'custom-sidebar-open' : ''); ?>

                    <?php echo e(request()->is('frontend-service') ? 'custom-sidebar-open' : ''); ?>

                " id="sidebar_collapse_11">

                    <?php if(Auth::user()->can('frontend-common-service-access')): ?>
                    <li class="ms-2
                    <?php echo e(request()->is('frontend-common-service') ? 'custom-sidebar-submenu-active' : ''); ?>

                    ">
                        <a href="<?php echo e(route('frontend-common-service.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i> Common Service</a>
                    </li>
                    <?php endif; ?>
                    
                    <?php if(Auth::user()->can('frontend-service-access')): ?>
                    <li class="ms-2
                    <?php echo e(request()->is('frontend-service') ? 'custom-sidebar-submenu-active' : ''); ?>

                    ">
                        <a href="<?php echo e(route('frontend-service.index')); ?>"><i class="fa-regular fa-circle sidebar-li"></i> Service</a>
                    </li>
                    <?php endif; ?>

                </ul>
            </li>
            <?php endif; ?>
        </div>
    </ul>
</nav><?php /**PATH E:\Project\Personal-Project\Office-Project\update\skin-care\resources\views/admin/layout/sidebar.blade.php ENDPATH**/ ?>