แก้text cms ชื่อรอบสอบ

This commit is contained in:
Kittapath 2023-10-13 00:33:22 +07:00
parent 1e278f7e59
commit 1c77bc5628
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
using System.Security.Claims;
using System.Text.Json;
using BMA.EHR.Extensions;
using BMA.EHR.Recurit.Exam.Service.Core;
using BMA.EHR.Recurit.Exam.Service.Data;
using BMA.EHR.Recurit.Exam.Service.Models;
@ -463,7 +464,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
Register_endDate = x.RegisterEndDate == null || x.RegisterEndDate == x.RegisterStartDate ? null : x.RegisterEndDate.Value.ToString("yyyy-MM-dd"),
Payment_startDate = x.PaymentStartDate == null ? null : x.PaymentStartDate.Value.ToString("yyyy-MM-dd"),
Payment_endDate = x.PaymentEndDate == null || x.PaymentEndDate == x.PaymentStartDate ? null : x.PaymentEndDate.Value.ToString("yyyy-MM-dd"),
Title = x.Name,
Title = $"{x.Name} ครั้งที่ {x.Round}/{(x.Year == null ? null : x.Year.Value.ToThaiYear())}",
Year = x.Year,
Round = x.Round,
Detail = x.Detail,