<html>

<!--ventana para Update--->
<div class="modal fade" id="editar<?php echo $tasa['ID_Tasa']; ?>" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"
  data-bs-backdrop="static" data-bs-keyboard="false">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h1 class="modal-title fs-5" id="exampleModalLabel">Editar Tasa</h1>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">


       <form method="POST" action="./controladores/Tasa/editasa.php">
        <input type="hidden" name="id" value="<?php echo $tasa['ID_Tasa']; ?>">
        <div class="form-group">
          <label for="recipient-name" class="col-form-label">Tasa</label>
          <input type="number" min="0.0" max="100.0" step="0.01" pattern="\d+(\.\d{1,2})?" name="editasa" class="form-control" value="<?php echo $tasa['Tasa']; ?>" required="true">
        </div>
        
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
          <button type="submit" class="btn btn-primary btned" >Guardar</button>
        </div>
      </form>
    </div>
  </div>
</div>
</div>


<!---fin ventana Update --->
<div class="modal fade" id="eliminar<?php echo $tasa['ID_Tasa']; ?>" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"
  data-bs-backdrop="static" data-bs-keyboard="false">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">
          ¿Realmente deseas eliminar la tasa ?
        </h4>
      </div>
      <div class="modal-body">
        
        <strong style="text-align: center !important"> 
         Bs <?php echo $tasa['Tasa']; ?>
         
       </strong>

     </div>
     <div class="modal-footer">
      <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
      <button type="submit" class="btn btn-danger botonBorrar" data-bs-dismiss="modal" id="<?php echo $tasa['ID_Tasa']; ?>">
      Borrar</button>
    </div>
  </div>
</div>
</div>

<script src="../ArchivosJS/jquery-3.6.0.min.js"></script> 
<script src="../ArchivosJS/toastr.min.js"></script>

</html>