text: const filtrarPromocao = () => {
    const tr = document.querySelectorAll(".tabela-consulta tbody tr");
    const filter = document.getElementById("input").value.toUpperCase();
    for (let i = 0; i < tr.length; i++) {
      td = tr[i].getElementsByTagName("td")[1];
      if (td) {
        txtValue = td.textContent || td.innerText;
        if (txtValue.toUpperCase().indexOf(filter) > -1) {
          tr[i].style.display = "";
        } else {
          tr[i].style.display = "none";
        }
      }
    }
  }
  