/* document.addEventListener("DOMContentLoaded", () => {
  const invoiceForms = document.querySelectorAll(".invoice-form");

  invoiceForms.forEach(form => {
    form.addEventListener("submit", () => {
      console.log("🧾 Rechnung erstellt – Reload folgt");

      // kleiner Delay, damit Backend committen kann
      setTimeout(() => {
        window.location.reload();
      }, 1200);
    });
  });
});
 */