<div class="container-fluid col-md-12">
    <div id="administrac" class="col-md-10">
        <br>
        <h3 align="center">Panel De Gestion</h3>

        <div class="container mt-5">
            <div class="row" id="ull">
                <div class="col-md-4">
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">📝 Historico
                                        Producto</b></span></div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>Kardex</span><button id="kardex" type="submit" class="btn bg-info"
                                style="font-size: 13px;color:ivory; border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">🙋🏻‍♂️ Gestion Cliente</b>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter"><span>Cartera
                                Cliente</span><button id="cartecliente" type="button" class="btn bg-info"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">Crear Categoria</b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter"><span>✒️Crear
                                Categoria</span> <button type="" class="btn bg-info" id="categoriapr"
                                style="font-size: 13px;color:black; border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">🧿 Crear marca</b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter"><span> Crear marca
                                o laboratorio</span><button id="cartmarca" type="button" class="btn bg-success"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">📊 Infome de Caja</b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter"><span>Infome de
                                Caja</span><button id="infocajaa" type="" class="btn bg-success"  <?php echo($_SESSION["VerInfoCaja"]); ?>
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">🧭 Reimprimir Factura
                                        Compra</b></span></div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter"><span>Reimprimir
                                Factura Compra</span><button id="refacompra" type="" class="btn bg-success"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">📬Reimprimir
                                        Salida</b></span></div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter"><span>Reimprimir
                                Salida</b></span><button id="refasalida" type="" class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>> 
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">🗃 Reimprimir Entrada</b>
                            </div>
                        </div>
                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter"><span>Reimprimir
                                Entrada</span><button id="refaentrada" type="" class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">📚 Gastos</b></span></div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>Gastos</span><button id="gastod" type="" class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>

                </div>

                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">Abrir Turnos</b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>Turnos</span><button id="abrirturnos" type="" class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>

                </div>

                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">Pagos</b></span></div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>Pagos</span><button id="AbrirPagos" type="" class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>

                </div>

                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">Retiros Efectivo</b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter"><span>Retiro
                                $</span><button id="AbrirRetiros" type="" class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>
                    </div>

                </div>

                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">Imprimir Cartera </b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>Cartera</span><button id="idimprimirCartera" type=""  class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Imprimir</button></span>
                        </div>
                    </div>

                </div>


                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">Valor Puntos </b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>Valor_Conversion</span><button id="modalPuntos" type=""  class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>

                        

                    </div>

                </div>

                <div class="col-md-4" <?php if($_SESSION["multibodega"]==3){echo("hidden");} ?>>
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">Base Caja </b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>base de la Caja</span><button id="basecajaM" type=""   class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>

                      
                        

                    </div>

                </div>
<?php if ($_SESSION["inventarioLinea"] == 1 || $_SESSION["inventarioLinea"] == "1"): ?>
                    <div class="col-md-4">
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
              
                    <div class="d-flex flex-column ml-2">
                        <span><b class="titleCard">Reabrir Compra</b></span>
                    </div>
           
                           
                            </div>
                      
 
                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>reabrir factura de compra</span><button id="reabrirmodalcompra" type=""   class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>

                        </div>  

                    </div>

                    <?php endif; ?>   
                </div>

                <!-- <div class="col-md-4">
                    <div class="card p-3">
                        <div class="d-flex flex-row mb-3">
                            <div class="d-flex flex-column ml-2"><span><b class="titleCard">Enviar Qextrator </b></span>
                            </div>
                        </div>

                        <div class="d-flex justify-content-between install mt-3 cardTexttitleFooter">
                            <span>Enviar Qextrator</span><button id="enviarQExtrattor" type=""   class="btn bg-primary"
                                style="font-size: 13px;color:ivory;border-radius: 15px 15px 15px 15px;">Abrir</button></span>
                        </div>

                      
                        

                    </div>

                </div> -->

            

            </div>
        </div>

        <ul class="col-md-12">

        </ul>

    </div>

    <?php

    date_default_timezone_set("America/Bogota");
include("modalturno.php");
include("kardes.php");
include("categoria.php");
include("marca.php");
include("cartera.php");
include("gastos.php");
include("pagos.php");
include("reimprimirSalida.php");
include("reimprimirEntrada.php");
include("reimprimircompra.php");
include("informecaja.php");
include("inventario/modalbuscarprov.php"); 
include("facturacion/modalproductos.php");
include("facturacion/modalcliente.php");
include("modalCuadreCaja.php");
include("modalPuntosValor.php");
include("modalbaseCaja.php");
include("modalSucursales.php");
include("modalReabrirCompra.php");


include("../controlador/conexion/turnos.php");
turno($bodegaUser);

include("retiros.php");

?>