diff --git a/src/main/webapp/resources/js/base/base.js b/src/main/webapp/resources/js/base/base.js index 75c308ac..7b53e839 100644 --- a/src/main/webapp/resources/js/base/base.js +++ b/src/main/webapp/resources/js/base/base.js @@ -718,7 +718,7 @@ class FormFields { if (["day", "time"].includes(dataFmtType)) obj[property] = value.replace(/-|:/gi, ""); - else if (dataMap.endsWith("AMT")) + else if (dataMap != null && dataMap.endsWith("AMT")) obj[property] = value.replace(/,/gi, ""); else obj[property] = value;