no message
This commit is contained in:
parent
9a71ab6b87
commit
f5b19afe34
1 changed files with 2 additions and 1 deletions
|
|
@ -1635,7 +1635,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
if (periodExam == null)
|
if (periodExam == null)
|
||||||
throw new Exception(GlobalMessages.ExamNotFound);
|
throw new Exception(GlobalMessages.ExamNotFound);
|
||||||
|
|
||||||
|
|
||||||
return new
|
return new
|
||||||
{
|
{
|
||||||
template = "candidate",
|
template = "candidate",
|
||||||
|
|
@ -1651,7 +1650,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
RefNo1 = periodExam?.PeriodExam?.RefNo1 ?? "-",
|
RefNo1 = periodExam?.PeriodExam?.RefNo1 ?? "-",
|
||||||
PeriodExamQrCodes = (periodExam?.PeriodExam?.PeriodExamQrCodes[0]?.Document?.Id ?? null) == null ? "" : _minioService.ImagesPath(periodExam?.PeriodExam?.PeriodExamQrCodes[0]?.Document?.Id ?? Guid.Parse("00000000-0000-0000-0000-000000000000")).Result,
|
PeriodExamQrCodes = (periodExam?.PeriodExam?.PeriodExamQrCodes[0]?.Document?.Id ?? null) == null ? "" : _minioService.ImagesPath(periodExam?.PeriodExam?.PeriodExamQrCodes[0]?.Document?.Id ?? Guid.Parse("00000000-0000-0000-0000-000000000000")).Result,
|
||||||
CitizenId = periodExam?.CitizenId ?? "-",
|
CitizenId = periodExam?.CitizenId ?? "-",
|
||||||
|
FullName = $"{periodExam.PrefixName}{periodExam.FirstName} {periodExam.LastName}",
|
||||||
Fee = periodExam?.PeriodExam?.Fee?.ToString() ?? "-",
|
Fee = periodExam?.PeriodExam?.Fee?.ToString() ?? "-",
|
||||||
|
Date = DateTime.Now.Date.ToThaiShortDate(),
|
||||||
FeeText = (periodExam?.PeriodExam?.Fee ?? null) == null ? "-" : periodExam?.PeriodExam?.Fee.Value.NumberToThaiText() ?? "-",
|
FeeText = (periodExam?.PeriodExam?.Fee ?? null) == null ? "-" : periodExam?.PeriodExam?.Fee.Value.NumberToThaiText() ?? "-",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue