
<?php include "views/templates/header.php";?>


<ol class="breadcrumb mb-4">
    <li class="breadcrumb-item active">CAJAS</li>
</ol>
<button class="btn btn-dark mb-2" type="button"  onclick="frmCaja();">REGISTRAR CAJA <i class="fas fa-plus"></i></button>
<table class="table table-light" id="tblCaja" style="width:100%" >
    <thead class="thead-dark">
        <tr>
            <th>ID</th>
            <th>CAJA</th>
            <th>ESTADO</th>
            <th></th>
            
        </tr>
    </thead>
    <tbody>
    
    </tbody>
</table>
<div id="nuevo_caja" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="my-modal-title" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header bg-primary" >
                <h5 class="modal-title text-white" title="title" id="title">NUEVO CLIENTE</h5>

                <button class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <form method="post" id="frmCaja">
                    <div class="form-group">
                        <input type="hidden" id="id" name="id">
                        <label for="caja">NOMBRE DE LA CAJA</label>
                        <input id="caja" class="form-control" type="text" name="caja" placeholder="Nombre de la caja">
                    </div>
                    
                    </div>
                        <button class="btn btn-primary" type="button" id="btnaccion" onclick="registrarCaj(event);" style="width:50%; margin: 5px;">CONFIRMAR</button>
                        <button class="btn btn-danger" type="button" data-dismiss="modal" style="width:50% ; margin: 5px;">CANCELAR</button>
                    
                       
                    </div>
                      
                </form>
            </div>
        </div>
    </div>
</div>




<?php include "views/templates/footer.php"; ?>





