แก้ช่วงวันรายงานลา

This commit is contained in:
Warunee Tamkoo 2023-12-26 17:11:12 +07:00
parent 7d4171354a
commit cb841ba3e3

View file

@ -278,7 +278,7 @@ async function updateLeaveday() {
dateStart.value = new Date(year.value, 9, 1);
dateEnd.value = new Date(year.value + 1, 2, 31);
} else if (yearType.value === "SECONDHAFT") {
dateStart.value = new Date(year.value + 1, 2, 31);
dateStart.value = new Date(year.value + 1, 3, 1);
dateEnd.value = new Date(year.value + 1, 8, 30);
}