แก้กลับ รอ API
This commit is contained in:
parent
299d3c118f
commit
9688cca41f
3 changed files with 10 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue