notif.textContent = event.data.message || "Inbound saved successfully!";
          document.body.appendChild(notif);
          setTimeout(function() {
            notif.remove();
            window.location.reload();
          }, 5000);
        }
      });

      function toggleAll(source) {
        const checkboxes = document.getElementsByClassName("rowCheckbox");
        for (let i = 0; i < checkboxes.length; i++) {
          checkboxes[i].checked = source.checked;
        }
      }

     