ปรับ field รายละเอียดการลา

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-28 15:18:07 +07:00
parent ea614b07c2
commit 13b2216cd9
16 changed files with 108 additions and 66 deletions

View file

@ -132,11 +132,11 @@ export const useLeavelistDataStore = defineStore("leave", () => {
*/
function convertLeaveDaytype(val: string) {
switch (val) {
case "allday":
case "ALL_DAY":
return "ลาทั้งวัน";
case "halfmorning":
case "HAFT_MORNING":
return "ลาครึ่งวันเช้า";
case "halfafternoon":
case "HAFT_AFTERNOON":
return "ลาครึ่งวันบ่าย";
}
}