<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-dark sidebar collapse shadow">
    <div class="position-sticky pt-3">
        <ul class="nav flex-column">
            <li class="nav-item">
                <a class="nav-link text-light" aria-current="page" href="<?php echo site_url(); ?>admin/dashboard">
                    <i class="fa fa-home"></i>
                    <?php echo $this->lang->line('dashboard'); ?>

                </a>
            </li>
            <li class="nav-item">
                <a href="<?php echo site_url(); ?>admin/customers" data-bs-target="#clients" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed nav-link text-light">
                    <i class="fa fa-users"></i>
                    <span>
                        <?php echo $this->lang->line('customers'); ?>

                    </span>
                </a>
                <ul class="list-unstyled collapse inner-menu" id="clients">
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/customers">
                            <span>
                                <?php echo $this->lang->line('all_customers'); ?>

                            </span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/customers/customerForm">
                            <span>
                                <?php echo $this->lang->line('customer'); ?> <?php echo $this->lang->line('new'); ?>
                            </span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/invoices">
                            <span>
                                <?php echo $this->lang->line('invoices'); ?>
                            </span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/invoices/payments">
                            <span>
                                <?php echo $this->lang->line('receipts'); ?>
                            </span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/customers/categories">
                            <span>
                                <?php echo $this->lang->line('categories'); ?>
                            </span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/customers/customersOnline">
                            <span>
                                <?php echo $this->lang->line('session'); ?> <?php echo $this->lang->line('customers'); ?>
                            </span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/customers/customersLiveOnline">
                            <span>
                                <?php echo $this->lang->line('customers'); ?> <?php echo $this->lang->line('online'); ?>
                            </span>
                        </a>
                    </li>
                </ul>
            </li>
            <li class="nav-item">
                <a href="<?php echo site_url(); ?>admin/suppliers" data-bs-target="#suppliers" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed nav-link text-light">
                    <i class="fa fa-truck"></i>
                    <?php echo $this->lang->line('suppliers'); ?>
                </a>
                <ul class="list-unstyled collapse" id="suppliers" style="">
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/suppliers">
                            <span> <?php echo $this->lang->line('all_suppliers'); ?></span> </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/invoices/InvSuppliers">
                            <span><?php echo $this->lang->line('suppliers_invoices'); ?></span> </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/invoices/supplierPayments">
                            <span><?php echo $this->lang->line('commands_payment'); ?></span> </a>
                    </li>

                </ul>
            </li>
            <!-- <li class="nav-item">
                <a href="<?php echo site_url(); ?>admin/invoices/finance" class="nav-link text-light">
                    <i class="fa fa-dollar-sign"></i>
                    <?php echo $this->lang->line('page'); ?> <?php echo $this->lang->line('financial'); ?>
                </a>
            </li> -->
            <li class="nav-item">
                <a href="<?php echo site_url(); ?>admin/products" class="nav-link text-light">
                    <i class="fa fa-shopping-cart"></i>
                    <?php echo $this->lang->line('products'); ?>
                </a>
            </li>
            <li class="nav-item">
                <a href="<?php echo site_url(); ?>admin/accounts" class="nav-link text-light">
                    <i class="fas fa-user-circle"></i>
                    <?php echo $this->lang->line('accounts'); ?>
                </a>
            </li>
            <li class="nav-item"> 
                <a href="<?php echo site_url(); ?>admin/orders" class="nav-link text-light">
                <i class="fa fa-clipboard-list"></i>
                 <?php echo $this->lang->line('orders'); ?>
                </a>
            </li>
            <li class="nav-item">
                <a href="<?php echo site_url(); ?>admin/settings" class="nav-link text-light">
                    <i class="fa fa-cogs"></i>
                    <?php echo $this->lang->line('settings'); ?>
                </a>
            </li>
            <li class="nav-item">
                <a href="<?php echo site_url(); ?>admin/users" data-bs-target="#users" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed nav-link text-light">
                    <i class="fa fa-users"></i>
                    <?php echo $this->lang->line('users'); ?>
                </a>
                <ul class="list-unstyled collapse" id="users" style="">
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/users"><?php echo $this->lang->line('users'); ?></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-light" href="<?php echo site_url(); ?>admin/account"><?php echo $this->lang->line('my_account'); ?></a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</nav>