From 46d2c95d94e9a7c8975fc9d53e946187438f9c53 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 8 Jun 2026 16:55:34 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20validate:=20sender=20name=20check=20used?= =?UTF-8?q?=20wrong=20field=20ID=20(from=5Fname=20=E2=86=92=20sn)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://claude.ai/code/session_01MkM7p8Us3L8YAfLKGA13NS --- app/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");