convertDate วินัย

This commit is contained in:
setthawutttty 2025-03-11 15:19:04 +07:00
parent 7ed5191db1
commit 60dcf38aa2
6 changed files with 45 additions and 38 deletions

View file

@ -30,6 +30,7 @@ const {
hideLoader,
success,
findOrgName,
convertDateToAPI,
} = mixin;
/**
@ -129,7 +130,7 @@ async function onSubmit() {
amountOld: salary.value.toString().replace(/,/g, ""),
organization: organization.value,
reason: reason.value,
date: date.value,
date: convertDateToAPI(date.value),
};
showLoader();
await http