<aside class="sidebar">
    <button type="button" class="sidebar-close-btn">
        <iconify-icon icon="radix-icons:cross-2"></iconify-icon>
    </button>
    <div>
        <a href="#" class="sidebar-logo">
            <img src="/assets/images/logo.png" alt="site logo" class="light-logo">
            <img src="/assets/images/logo-light.png" alt="site logo" class="dark-logo">
            <img src="/assets/images/laundry_icon.png" alt="site logo" class="logo-icon">
        </a>
    </div>
    <div class="sidebar-menu-area">
        <ul class="sidebar-menu" id="sidebar-menu">
            <li>
                <a href="<?php echo e(route('admin.dashboard')); ?>">
                    <iconify-icon icon="solar:home-smile-angle-outline" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['dashboard'] ?? 'Dashboard'); ?></span>
                </a>
            </li>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['order_create','order_list','order_status_change'])): ?>
                <li class="sidebar-menu-group-title"><?php echo e($lang->data['orders'] ?? 'Orders'); ?></li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('order_create')): ?>
            <li>
                <a href="<?php echo e(route('orders.pos')); ?>">
                    <iconify-icon icon="mdi-light:monitor" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['pos'] ?? 'POS'); ?></span>
                </a>
            </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('order_list')): ?>
            <li>
                <a href="<?php echo e(route('orders')); ?>">
                    <iconify-icon icon="akar-icons:cart" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['orders'] ?? 'Orders'); ?></span>
                </a>
            </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('order_status_change')): ?>
            <li>
                <a href="<?php echo e(route('orders.status-screen')); ?>">
                    <iconify-icon icon="line-md:list-3-filled" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['order_status_screen'] ?? 'Order Status Screen'); ?></span>
                </a>
            </li>
            <?php endif; ?>
            <li class="sidebar-menu-group-title"><?php echo e($lang->data['application'] ?? 'Application'); ?></li>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('customer_list')): ?>
            <li class="<?php if(Request::is('admin/customers*')): ?> active-page <?php endif; ?>">
                <a href="<?php echo e(route('customers')); ?>" class="<?php if(Request::is('admin/customers*')): ?> active-page <?php endif; ?>">
                    <iconify-icon icon="uil:user" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['customers'] ?? 'Customers'); ?></span>
                </a>
            </li>   
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['service_list','service_type_list','addon_list'])): ?>
            <li class="dropdown">
                <a href="javascript:void(0)">
                    <iconify-icon icon="material-symbols-light:design-services-outline-sharp" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['services'] ?? 'Services'); ?></span>
                </a>
                <ul class="sidebar-submenu">
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('service_list')): ?>
                    <li>
                        <a href="<?php echo e(route('service')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['service_list'] ?? 'Service List'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('service_type_list')): ?>
                    <li>
                        <a href="<?php echo e(route('service.types')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['service_type'] ?? 'Service Type'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('addon_list')): ?>
                    <li>
                        <a href="<?php echo e(route('service.addons')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> <?php echo e($lang->data['addons'] ?? 'Addons'); ?></a>
                    </li>
                    <?php endif; ?>
                </ul>
            </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['expense_list','expense_category_list'])): ?>
            <li class="dropdown">
                <a href="javascript:void(0)">
                    <iconify-icon icon="iconoir:wallet" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['expense'] ?? 'Expense'); ?></span>
                </a>
                <ul class="sidebar-submenu">
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense_list')): ?>
                        <li>
                            <a href="<?php echo e(route('expense')); ?>"><i
                                    class="ri-circle-fill circle-icon text-primary-600 w-auto"></i>
                                <?php echo e($lang->data['expense_list'] ?? 'Expense List'); ?></a>
                        </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense_category_list')): ?>
                        <li>
                            <a href="<?php echo e(route('expense.category')); ?>"><i
                                    class="ri-circle-fill circle-icon text-primary-600 w-auto"></i>
                                <?php echo e($lang->data['expense_category'] ?? 'Expense Category'); ?></a>
                        </li>
                    <?php endif; ?>
                </ul>
            </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('payment_list')): ?>
            <li>
                <a href="<?php echo e(route('payments.receipt')); ?>">
                    <iconify-icon icon="fluent:receipt-48-regular" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['payment_receipt'] ?? 'Payment Receipt'); ?></span>
                </a>
            </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['report_daily','report_order','report_sales','report_expense','report_ledger','report_tax'])): ?>
            <li class="dropdown">
                <a href="javascript:void(0)">
                    <iconify-icon icon="iconoir:reports" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['reports'] ?? 'Reports'); ?></span>
                </a>
                <ul class="sidebar-submenu">
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report_daily')): ?>
                    <li>
                        <a href="<?php echo e(route('reports.daily')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['daily_report'] ?? 'Daily Report'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report_order')): ?>
                    <li>
                        <a href="<?php echo e(route('reports.order')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['order_report'] ?? 'Order Report'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report_sales')): ?>
                    <li>
                        <a href="<?php echo e(route('reports.sales')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['sales_report'] ?? 'Sales Report'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report_ledger')): ?>
                    <li>
                        <a href="<?php echo e(route('reports.ledger')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['ledger_report'] ?? 'Ledger Report'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report_expense')): ?>
                    <li>
                        <a href="<?php echo e(route('reports.expense')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> <?php echo e($lang->data['expense_report'] ?? 'Expense Report'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report_tax')): ?>
                    <li>
                        <a href="<?php echo e(route('reports.tax')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['tax_report'] ?? 'Tax Report'); ?></a>
                    </li>
                    <?php endif; ?>
                    
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('report_monthly_summary')): ?>
                     <li>
                        <a href="<?php echo e(route('reports.monthly-summary')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> Monthly Summary</a>
                    </li>
                    <?php endif; ?>
                </ul>
            </li>
            <?php endif; ?>
            <li class="sidebar-menu-group-title"><?php echo e($lang->data['account'] ?? 'Account'); ?></li>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting_view')): ?>
            <li class="dropdown">
                <a href="javascript:void(0)">
                    <iconify-icon icon="icon-park-outline:setting-two" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['tools'] ?? 'Tools'); ?></span>
                </a>
                <ul class="sidebar-submenu">
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting_financial_year')): ?>
                        <li>
                            <a href="<?php echo e(route('settings.financial-year')); ?>"><i
                                    class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['financial_year'] ?? 'Financial Year'); ?></a>
                        </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('translation_list')): ?>
                    <li>
                        <a href="<?php echo e(route('settings.translations')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['translations'] ?? 'Translations'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting_mail')): ?>
                    <li>
                        <a href="<?php echo e(route('settings.mail-settings')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> <?php echo e($lang->data['mail_settings'] ?? 'Mail Settings'); ?></a>
                    </li>
                    <?php endif; ?>

                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting_mail')): ?>
                    <li>
                        <a href="<?php echo e(route('settings.file')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['file_tools'] ?? 'File Tools'); ?> </a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting_sms')): ?>
                    <li>
                        <a href="<?php echo e(route('settings.sms')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i><?php echo e($lang->data['sms_settings'] ?? 'SMS Settings'); ?> </a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role_list')): ?>
                    <li>
                        <a href="<?php echo e(route('settings.roles')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> <?php echo e($lang->data['roles'] ?? 'Roles'); ?> </a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('user_list')): ?>
                    <li>
                        <a href="<?php echo e(route('settings.staff')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> <?php echo e($lang->data['staff'] ?? 'Staff'); ?> </a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting_master')): ?>
                    <li>
                        <a href="<?php echo e(route('settings.master-settings')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> <?php echo e($lang->data['master_settings'] ?? 'Master Settings'); ?></a>
                    </li>
                    <?php endif; ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting_theme')): ?>
                    <li>
                        <a href="<?php echo e(route('settings.theme')); ?>"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> <?php echo e($lang->data['theme'] ?? 'Theme'); ?></a>
                    </li>
                    <?php endif; ?>
                    <li>
                        <a href="/admin/printer-settings"><i
                                class="ri-circle-fill circle-icon text-primary-600 w-auto"></i> Printer Settings</a>
                    </li>
                </ul>
            </li>
            <?php endif; ?>
            <li>
                <a href="<?php echo e(route('logout')); ?>"  wire:click.prevent="logout()">
                    <iconify-icon icon="material-symbols:logout" class="menu-icon"></iconify-icon>
                    <span><?php echo e($lang->data['logout'] ?? 'Logout'); ?></span>
                </a>
            </li>
        </ul>
    </div>
</aside><?php /**PATH /Users/raihancarjasti/Downloads/laundrybox-220nulled (1)/codecanyon-36501827-laundry-box-pos-and-order-management-system/laundry/Laundry_Website/resources/views/livewire/components/sidebar.blade.php ENDPATH**/ ?>