From c7dd897909b697a0dd3e089044dcc88c4fa40f7e Mon Sep 17 00:00:00 2001 From: Bright Date: Wed, 14 May 2025 12:04:42 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=E0=B8=A5=E0=B8=B2=20>>=20=E0=B9=81=E0=B8=9A=E0=B8=9A=E0=B8=A3?= =?UTF-8?q?=E0=B8=B2=E0=B8=A2=E0=B8=87=E0=B8=B2=E0=B8=99=20(=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=81=E0=B8=AD=E0=B8=9A?= =?UTF-8?q?=E0=B8=9E=E0=B8=B4=E0=B8=98=E0=B8=B5=E0=B8=AE=E0=B8=B1=E0=B8=88?= =?UTF-8?q?=E0=B8=8D=E0=B9=8C)=20#1493?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BMA.EHR.Leave/Controllers/LeaveReportController.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BMA.EHR.Leave/Controllers/LeaveReportController.cs b/BMA.EHR.Leave/Controllers/LeaveReportController.cs index b58c5821..b33c2a1e 100644 --- a/BMA.EHR.Leave/Controllers/LeaveReportController.cs +++ b/BMA.EHR.Leave/Controllers/LeaveReportController.cs @@ -355,8 +355,12 @@ namespace BMA.EHR.Leave.Service.Controllers // if (list.Count > 0) // approver = list.First().Name; //} + if (data != null && data.LeaveSubTypeName == "ลาประกอบพิธีฮัจญ์" && isHajj == false) + { + isHajj = true; + } - if (data.HajjDayStatus == true) + if (isHajj == true) { return new {