เพิ่มคำนำหน้าreport สอบคัดเลือก

This commit is contained in:
Kittapath 2023-11-13 09:57:11 +07:00
parent 3cc2db0d1d
commit 55224a594b

View file

@ -337,7 +337,7 @@ namespace BMA.EHR.Report.Service.Controllers
.Select(p => new .Select(p => new
{ {
ExamId = p.SeatNumber == null ? null : (p.SeatNumber), ExamId = p.SeatNumber == null ? null : (p.SeatNumber),
FullName = $"{p.FirstName} {p.LastName}", FullName = $"{p.PrefixName}{p.FirstName} {p.LastName}",
PositionName = "", PositionName = "",
ExamName = ExamName =
($"{p.PeriodExam.Name} ครั้งที่ {p.PeriodExam.Round}/{p.PeriodExam.Year.Value.ToThaiYear()}"), ($"{p.PeriodExam.Name} ครั้งที่ {p.PeriodExam.Round}/{p.PeriodExam.Year.Value.ToThaiYear()}"),