diff --git a/app/index.html b/app/index.html index 469a910..4df86ec 100644 --- a/app/index.html +++ b/app/index.html @@ -1451,7 +1451,7 @@ function validateInvoice() { const errors = []; const ino = (document.getElementById("ino")?.value || "").trim(); if (!ino) errors.push(t("val-invoice-no") || "Invoice number is required"); - const fromName = (document.getElementById("from_name")?.value || "").trim(); + const fromName = (document.getElementById("sn")?.value || "").trim(); if (!fromName) errors.push(t("val-from-name") || "Sender name is required"); const ctPick = document.getElementById("ct-pick"); if (!ctPick || !ctPick.value) errors.push(t("val-charge-to") || "Charge-to is required");