 <!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
        <meta name="description" content="" />
        <meta name="author" content="" />
        <title>ADMINISTRACION</title>
        <link href="<?php echo base_url;?>assets/css/styles.css" rel="stylesheet" />
        <link href="<?php echo base_url;?>assets/DataTables/datatables.min.css" rel="stylesheet" crossorigin="anonymous" />
        <link href="<?php echo base_url;?>assets/css/cdn.jsdelivr.net_npm_select2@4.1.0-rc.0_dist_css_select2.min.css" rel="stylesheet">
        <link href="<?php echo base_url;?>assets/css/estilos.css" rel="stylesheet">
        <link rel="stylesheet" href="<?php echo base_url;?>assets/css/toastify.min.css">
        <link rel="icon" href="<?php echo base_url;?>/assets/img/favicon.ico" type="image/x-icon">
        <script src="<?php echo base_url;?>assets/js/cdnjs.cloudflare.com_ajax_libs_font-awesome_5.13.0_js_all.min.js" crossorigin="anonymous"></script>
        <script src="<?php echo base_url;?>assets/js/kit.fontawesome.com_ab917c5326.js"></script>
        <style>
      

        .sb-topnav {
            background: linear-gradient(135deg, #000046, #1CB5E0);
        }

        .navbar-brand {
            color: #fff !important;
        }

        .sb-sidenav {
            background: linear-gradient(135deg, #000046, #1CB5E0);
        }

        .sb-sidenav a {
            color: #fff !important;
        }

        .sb-sidenav-collapse-arrow {
            color: #fff !important;
        }

        .dropdown-menu {
        background: linear-gradient(135deg, #000046, #1cb5e0);
        color: #fff;
    }

    .dropdown-menu a {
        color: #fff !important;
        transition: color 0.3s;
    }

    .dropdown-menu a:hover {
        color: #1cb5e0;
    }

    .dropdown-menu a:active {
        color: black;
    }

        .sb-nav-link-icon i {
            margin-right: 10px;
        }

     

        .btn:hover {
            background-color: #1CB5E0;
            transform: scale(1.05);
        }
        .whatsapp-icon {
            position: fixed;
            top: 5px;
            right: 85px;
            font-size: 15px; /* Ajusta el tamaño del icono según sea necesario */
            background-color: #25d366; /* Cambia el color de fondo según tu preferencia */
            color: #ffffff; /* Cambia el color del icono según tu preferencia */
            padding: 10px;
            border-radius: 50%;
            cursor: pointer;
        }
        
    </style>
   
    </head>
    <body class="sb-nav-fixed">
        <nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
            <a class="navbar-brand " href="<?php echo base_url;?>Administracion/home"><i class="fa-brands fa-uncharted" style="margin-right: 10px"></i>SOF LEYSA LTE</a>
            <button class="btn btn-link btn-sm order-1 order-lg-0" id="sidebarToggle" href="<?php echo base_url;?>Administracion/home"><i class="fas fa-bars"></i></button>
            <div class="d-none d-sm-block"> <!-- Esto ocultará el contenido en tamaños de pantalla más pequeños que sm (small) -->
                <a class="navbar-brand" href="<?php echo base_url;?>Administracion/home">
                    <h2 id="mosrtrar_el_usuario"></h2>
                </a>

                <!-- Icono de WhatsApp -->
                <a href="#" data-toggle="modal" data-target="#whatsappModal" title="Chatea con nosotros por WhatsApp" class="whatsapp-icon">
                    <i class="fab fa-whatsapp"></i>
                </a>
            </div>


            <ul class="navbar-nav ml-auto ">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" id="userDropdown" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
                    <div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown">
                        <a class="dropdown-item" href="#" data-toggle="modal" data-target="#cambiarPass">PERFIL</a>

                        








                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="<?php echo base_url; ?>usuarios/salir">SALIR</a>
                    </div>
                </li>
            </ul>
        </nav>
        <div id="layoutSidenav">
            <div id="layoutSidenav_nav">
                <nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
                    <div class="sb-sidenav-menu">
                        <div class="nav">
                            </a>
                            
                            
                            



                            <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
                                <div class="sb-nav-link-icon"><i class="fa-solid fa-chart-simple fa-lg" style="color: #ffffff;"></i></div>
                                ADMINISTRACION
                                <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
                            </a>
                            <div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-parent="#sidenavAccordion">
                                <nav class="sb-sidenav-menu-nested nav">
                                   
                                    <a class="nav-link" href="<?php echo base_url; ?>Administracion/nuevos_user"><i class="fa-solid fa-cash-register" style="color: #ffffff;margin-right: 10px;"></i>Usuario</a>
                                    <a class="nav-link" href="<?php echo base_url; ?>Administracion/reportes"><i class="fas fa-boxes"  style="color: #ffffff;margin-right: 10px;"></i>Reportes</a>

                                    <a class="nav-link" href="<?php echo base_url; ?>Administracion"><i class="fa-solid fa-cash-register" style="color: #ffffff;margin-right: 10px;"></i>Empresa</a>

                                    <a class="nav-link" href="<?php echo base_url; ?>Administracion/config"><i class="fa-solid fa-cash-register" style="color: #ffffff;margin-right: 10px;"></i>Configuracion</a>
                                    <a class="nav-link" href="<?php echo base_url; ?>Administracion/Finanzas"><i class="fas fa-chart-line" style="color: #ffffff;margin-right: 10px;"></i>Finanzas</a>
                                   <!-- trabajando modulo -->   <!-- <a class="nav-link" href="<?php echo base_url; ?>personal/"><i class="fa-solid fa-cash-register" style="color: #ffffff;margin-right: 10px;"></i>Personal</a>--> 
                                </nav>
                            </div>
                            

                            <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseConfiguracion" aria-expanded="false" aria-controls="collapseConfiguracion">
                                <div class="sb-nav-link-icon"><i class="fa-solid fa-chart-simple fa-lg" style="color: #ffffff;"></i></div>
                                VENTAS
                                <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
                            </a>
                            <div class="collapse" id="collapseConfiguracion" aria-labelledby="headingOne" data-parent="#sidenavAccordion">
                                <nav class="sb-sidenav-menu-nested nav">
                                

                                <a class="nav-link" href="<?php echo base_url; ?>Administracion/dispensadores"><i class="fa-solid fa-users-gear" style="color: #ffffff;margin-right: 10px;"></i>Dispensadores</a>
                              
                       

                                <a class="nav-link" href="<?php echo base_url; ?>Administracion/movimientos"><i class="fa-solid fa-users-gear" style="color: #ffffff;margin-right: 10px;"></i>Gestionar</a>

                                <a class="nav-link" href="<?php echo base_url; ?>Administracion/historial">
                                    <div class="sb-nav-link-icon"><i class="fa-solid fa-layer-group" style="color: #ffffff;"></i></div>
                                    Historial Venta
                                    
                                </a>

                                </nav>
                            </div>
                            

                          
                            



                           
                          
                            
                

                        </div>
                    </div>
                    
                </nav>
            </div>
            <div id="layoutSidenav_content">
                <main>
                    <div class="container-fluid mt-2">
                        
        

        



                   