แก้กลับ รอ API

This commit is contained in:
setthawutttty 2025-04-09 15:58:44 +07:00
parent 299d3c118f
commit 9688cca41f
3 changed files with 10 additions and 8 deletions

View file

@ -154,9 +154,11 @@ function convert(val: any) {
);
const type = filtertype?.code;
if (type == "LV-006" && val.hajjDayStatus == false) {
return "ลาอุปสมบท";
return "ลาอุปสมบทหรือการลาประกอบพิธีฮัจญ์ฯ";
// return ""; API
} else if (type == "LV-006" && val.hajjDayStatus == true) {
return "ลาประกอบพิธีฮัจญ์";
return "ลาอุปสมบทหรือการลาประกอบพิธีฮัจญ์ฯ";
// return ""; API
} else {
return val.leaveTypeName;
}