fix issue : ระบบลา (ขรก.) >> ลาป่วย (กรณียื่นขอลาเกิน 120 วัน/ปี) #828
Some checks failed
release-dev / release-dev (push) Failing after 11s

This commit is contained in:
Suphonchai Phoonsawat 2024-12-10 14:41:51 +07:00
parent 1967ca004d
commit 5e891b96b7

View file

@ -814,7 +814,9 @@ namespace BMA.EHR.Leave.Service.Controllers
switch (leaveType.Code.ToUpper().Trim())
{
case "LV-001":
isLeave = true;
// fix issue : ระบบลา (ขรก.) >> ลาป่วย (กรณียื่นขอลาเกิน 120 วัน/ปี) #828
isLeave = (totalDay - (sumWorkDay + sumWeekend) + sumApproveLeave) <= 120;
//isLeave = true;
break;
case "LV-002":
// fix issue : ระบบลา (ขรก.) >> ลากิจส่วนตัว (กรณียื่นขอลาเกิน 45 วัน/ปี) #829