fix issue : ระบบลา (ขรก.) >> ลาป่วย (กรณียื่นขอลาเกิน 120 วัน/ปี) #828
Some checks failed
release-dev / release-dev (push) Failing after 11s
Some checks failed
release-dev / release-dev (push) Failing after 11s
This commit is contained in:
parent
1967ca004d
commit
5e891b96b7
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue