fix issue : ระบบลา (ขรก.) >> ลากิจส่วนตัว (กรณียื่นขอลาเกิน 45 วัน/ปี) #829
This commit is contained in:
parent
00568ad943
commit
2bc134298f
1 changed files with 6 additions and 1 deletions
|
|
@ -817,7 +817,12 @@ namespace BMA.EHR.Leave.Service.Controllers
|
||||||
isLeave = true;
|
isLeave = true;
|
||||||
break;
|
break;
|
||||||
case "LV-002":
|
case "LV-002":
|
||||||
isLeave = true;
|
// fix issue : ระบบลา (ขรก.) >> ลากิจส่วนตัว (กรณียื่นขอลาเกิน 45 วัน/ปี) #829
|
||||||
|
if (govAge <= 365)
|
||||||
|
isLeave = (totalDay - (sumWorkDay + sumWeekend) + sumApproveLeave) <= 15;
|
||||||
|
else
|
||||||
|
isLeave = (totalDay - (sumWorkDay + sumWeekend) + sumApproveLeave) <= 45;
|
||||||
|
//isLeave = true;
|
||||||
break;
|
break;
|
||||||
case "LV-007":
|
case "LV-007":
|
||||||
isLeave = true;
|
isLeave = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue