From cc8cd77560eeb54f68c0afd65d761df6310fa5b5 Mon Sep 17 00:00:00 2001 From: harid Date: Tue, 16 Dec 2025 10:37:27 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=A5=E0=B8=B2=E0=B8=95=E0=B8=B4?= =?UTF-8?q?=E0=B8=94=E0=B8=95=E0=B8=B2=E0=B8=A1=E0=B8=84=E0=B8=B9=E0=B9=88?= =?UTF-8?q?=E0=B8=AA=E0=B8=A1=E0=B8=A3=E0=B8=AA=20=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=A2=E0=B8=87=E0=B8=B2=E0=B8=99=E0=B9=81=E0=B8=AA=E0=B8=94?= =?UTF-8?q?=E0=B8=87=20Null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BMA.EHR.Leave/Controllers/LeaveReportController.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BMA.EHR.Leave/Controllers/LeaveReportController.cs b/BMA.EHR.Leave/Controllers/LeaveReportController.cs index 00684dc1..2c001072 100644 --- a/BMA.EHR.Leave/Controllers/LeaveReportController.cs +++ b/BMA.EHR.Leave/Controllers/LeaveReportController.cs @@ -690,11 +690,11 @@ namespace BMA.EHR.Leave.Service.Controllers coupleDayPosition = data.CoupleDayPosition.ToThaiNumber(), coupleDayOrganizationName = "-", coupleDayLevelCountry = data.CoupleDayLevelCountry.ToThaiNumber(), - coupleDayCountryHistory = data.CoupleDayCountryHistory!.ToThaiNumber() ?? "", - coupleDayTotalHistory = data.CoupleDayTotalHistory!.ToThaiNumber() ?? "", - coupleDayStartDateHistory = data.CoupleDayStartDateHistory == null ? "" : data.CoupleDayStartDateHistory.Value.Date.ToThaiShortDate().ToThaiNumber(), - coupleDayEndDateHistory = data.CoupleDayEndDateHistory == null ? "" : data.CoupleDayEndDateHistory.Value.Date.ToThaiShortDate().ToThaiNumber(), - coupleDaySumTotalHistory = data.CoupleDaySumTotalHistory!.ToThaiNumber(), + coupleDayCountryHistory = data.CoupleDayCountryHistory == null ? "-" : data.CoupleDayCountryHistory!.ToThaiNumber() ?? "", + coupleDayTotalHistory = data.CoupleDayTotalHistory == null ? "-" : data.CoupleDayTotalHistory!.ToThaiNumber(), + coupleDayStartDateHistory = data.CoupleDayStartDateHistory == null ? "-" : data.CoupleDayStartDateHistory.Value.Date.ToThaiShortDate().ToThaiNumber(), + coupleDayEndDateHistory = data.CoupleDayEndDateHistory == null ? "-" : data.CoupleDayEndDateHistory.Value.Date.ToThaiShortDate().ToThaiNumber(), + coupleDaySumTotalHistory = data.CoupleDaySumTotalHistory == null ? "-" : data.CoupleDaySumTotalHistory!.ToThaiNumber(), leaveDateStart = data.LeaveStartDate.Date.ToThaiShortDate().ToThaiNumber(),