fix issue : 1113

This commit is contained in:
Suphonchai Phoonsawat 2024-11-12 09:56:58 +07:00
parent ddb541c819
commit 3cad108cef
8 changed files with 1328 additions and 25 deletions

View file

@ -518,10 +518,10 @@ namespace BMA.EHR.Leave.Service.Controllers
coupleDayPosition = data.CoupleDayPosition,
coupleDayOrganizationName = "-",
coupleDayLevelCountry = data.CoupleDayLevelCountry,
coupleDayCountryHistory = data.CoupleDayCountryHistory,
coupleDayTotalHistory = data.CoupleDayTotalHistory,
coupleDayStartDateHistory = data.CoupleDayStartDateHistory.Date.ToThaiShortDate(),
coupleDayEndDateHistory = data.CoupleDayEndDateHistory.Date.ToThaiShortDate(),
coupleDayCountryHistory = data.CoupleDayCountryHistory ?? "",
coupleDayTotalHistory = data.CoupleDayTotalHistory ?? "",
coupleDayStartDateHistory = data.CoupleDayStartDateHistory == null ? "" : data.CoupleDayStartDateHistory.Value.Date.ToThaiShortDate(),
coupleDayEndDateHistory = data.CoupleDayEndDateHistory == null ? "" : data.CoupleDayEndDateHistory.Value.Date.ToThaiShortDate(),
coupleDaySumTotalHistory = data.CoupleDaySumTotalHistory,