ฟังก์ชันออกคำสั่งอื่นๆ add ProfileType

This commit is contained in:
kittapath 2025-01-20 22:25:10 +07:00
parent c10e96e2a4
commit 541c729559

View file

@ -533,6 +533,10 @@ function outPost() {
function otherPost() {
const formData = new FormData();
formData.append("id", profileId.value);
formData.append(
"ProfileType",
empType.value === "-employee" ? "EMPLOYEE" : "OFFICER"
);
dialogConfirm($q, async () => {
showLoader();
await http