From 1379dab5567abac23d4fd0b005c683457a5b077c Mon Sep 17 00:00:00 2001 From: Suphonchai Phoonsawat Date: Tue, 28 Apr 2026 15:42:41 +0700 Subject: [PATCH] fix issue #2441 --- .../Controllers/LeaveReportController.cs | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/BMA.EHR.Leave/Controllers/LeaveReportController.cs b/BMA.EHR.Leave/Controllers/LeaveReportController.cs index e726aabd..1d9bf465 100644 --- a/BMA.EHR.Leave/Controllers/LeaveReportController.cs +++ b/BMA.EHR.Leave/Controllers/LeaveReportController.cs @@ -1533,17 +1533,21 @@ namespace BMA.EHR.Leave.Service.Controllers coupleCount = coupleCount, therapyCount = therapyCount, - leaveTotal = sickCount + - maternityCount + - wifeCount + - personalCount + - restCount + - ordainCount + - absentCount + - studyCount + - agencyCount + - coupleCount + - therapyCount + // ระบบนับจำนวนครั้ง วันลาพักผ่อนด้วย ซึ่งตามระเบียบไม่ให้นับจำนวนครั้งวันลาพักผ่อนครับ จำนวนครั้งนับเฉพาะ ป่วย กับ กิจ + leaveTotal = sickCount + + personalCount + + // leaveTotal = sickCount + + // maternityCount + + // wifeCount + + // personalCount + + // restCount + + // ordainCount + + // absentCount + + // studyCount + + // agencyCount + + // coupleCount + + // therapyCount };